Свойство | Type | Description | |
---|---|---|---|
CRLF | Byte[] | ||
LF | Byte[] |
Méthode | Description | |
---|---|---|
BeginConnect ( |
||
BeginConnect ( |
||
BeginRead ( Byte buffer, |
||
BeginReadLine ( AsyncCallback callback, Object state ) : IAsyncResult | ||
BeginWrite ( Byte buffer, |
||
BufferReadLine ( ) : String | ||
Close ( ) : void | ||
Connect ( |
||
Connect ( |
||
Connection ( |
||
Connection ( Socket socket ) : System | ||
Disconnect ( ) : void | ||
Dispose ( ) : void | ||
EndConnect ( IAsyncResult ar ) : void | ||
EndRead ( IAsyncResult ar ) : |
||
EndReadLine ( IAsyncResult ar ) : String | ||
EndWrite ( IAsyncResult ar ) : void | ||
Flush ( ) : void | ||
Init ( Socket socket ) : void | ||
Read ( Byte buffer, |
||
ReadLine ( ) : String | ||
Receive ( Byte buffer ) : |
||
Receive ( Byte buffer, |
||
ReceiveAllRemaining ( ) : Byte[] |
Get data from connection until all bytes have been read (i.e., until Receive() returns 0). Uses a constant buffersize.
|
|
ReceiveAllRemaining ( |
Get data from connection until all bytes have been read (i.e., until Receive() returns 0). Uses a buffersize passed as a parameter.
|
|
ReceiveToStream ( Stream stream ) : void | ||
ReceiveToStream ( Stream stream, System.Int64 size ) : void | ||
ReceiveToStream ( Stream stream, System.Int64 size, |
||
ReceiveWhatsAvailable ( Byte buffer, |
||
ResetStatistics ( ) : void | ||
Seek ( System.Int64 offset, SeekOrigin origin ) : System.Int64 | ||
Send ( Byte buffer ) : |
||
Send ( Byte buffer, |
||
SendFromStream ( Stream stream ) : void | ||
SendFromStream ( Stream stream, System.Int64 size ) : void | ||
SendFromStream ( Stream stream, System.Int64 size, |
||
SetLength ( System.Int64 length ) : void | ||
SkipBytes ( |
||
ToString ( ) : String | ||
Write ( Byte buffer, |
||
WriteLine ( String line ) : void | ||
WriteLineLF ( String line ) : void |
Méthode | Description | |
---|---|---|
BeginInitializeServerConnection ( AsyncCallback callback, Object state ) : IAsyncResult | ||
DataSocketClose ( ) : void | ||
DataSocketClose ( System.Boolean dispose ) : void | ||
DataSocketConnect ( |
||
DataSocketReceiveWhatsAvaiable ( Byte buffer, |
||
DataSocketSend ( Byte buffer ) : |
||
DataSocketSendAsMuchAsPossible ( Byte buffer, |
||
EndInitializeServerConnection ( IAsyncResult ar ) : void | ||
InitializeServerConnection ( ) : void | ||
IntBeginRead ( Byte buffer, |
||
IntBeginWrite ( Byte buffer, |
||
IntEndRead ( IAsyncResult ar ) : |
||
IntEndWrite ( IAsyncResult ar ) : void | ||
StartTimeoutTimer ( ) : void | ||
StopTimeoutTimer ( ) : void | ||
TriggerAsyncDisconnect ( ) : void | ||
TriggerAsyncHaveIncompleteData ( ) : void | ||
TriggerOnBytesReceived ( System.Int64 count ) : void | ||
TriggerOnBytesSent ( System.Int64 count ) : void |
Méthode | Description | |
---|---|---|
Abort ( ) : void | ||
DataSocketReceive ( Byte buffer, |
||
DataSocketSend ( Byte buffer, |
||
Init ( |
||
IntReadCallback ( IAsyncResult ar ) : void | ||
IntReadLineCallback ( IAsyncResult ar ) : void | ||
Receive ( Byte buffer, |
||
SetDefaultValues ( ) : void | ||
TimeoutElapsed ( Object sender ) : void |
public BeginConnect ( |
||
endPoint | ||
callback | AsyncCallback | |
state | Object | |
Résultat | IAsyncResult |
public BeginConnect ( |
||
address | ||
port | ||
callback | AsyncCallback | |
state | Object | |
Résultat | IAsyncResult |
protected BeginInitializeServerConnection ( AsyncCallback callback, Object state ) : IAsyncResult | ||
callback | AsyncCallback | |
state | Object | |
Résultat | IAsyncResult |
public BeginRead ( Byte buffer, |
||
buffer | Byte | |
offset | ||
count | ||
callback | AsyncCallback | |
state | Object | |
Résultat | IAsyncResult |
public BeginReadLine ( AsyncCallback callback, Object state ) : IAsyncResult | ||
callback | AsyncCallback | |
state | Object | |
Résultat | IAsyncResult |
public BeginWrite ( Byte buffer, |
||
buffer | Byte | |
offset | ||
count | ||
callback | AsyncCallback | |
state | Object | |
Résultat | IAsyncResult |
public Connect ( |
||
endPoint | ||
Résultat | void |
public Connect ( |
||
address | ||
port | ||
Résultat | void |
public Connection ( |
||
binding | ||
Résultat | System |
public Connection ( Socket socket ) : System | ||
socket | Socket | |
Résultat | System |
protected DataSocketClose ( System.Boolean dispose ) : void | ||
dispose | System.Boolean | |
Résultat | void |
protected DataSocketConnect ( |
||
endPoint | ||
Résultat | void |
protected DataSocketReceiveWhatsAvaiable ( Byte buffer, |
||
buffer | Byte | |
offset | ||
size | ||
Résultat |
protected DataSocketSend ( Byte buffer ) : |
||
buffer | Byte | |
Résultat |
protected DataSocketSendAsMuchAsPossible ( Byte buffer, |
||
buffer | Byte | |
offset | ||
size | ||
Résultat |
public EndConnect ( IAsyncResult ar ) : void | ||
ar | IAsyncResult | |
Résultat | void |
protected EndInitializeServerConnection ( IAsyncResult ar ) : void | ||
ar | IAsyncResult | |
Résultat | void |
public EndRead ( IAsyncResult ar ) : |
||
ar | IAsyncResult | |
Résultat |
public EndReadLine ( IAsyncResult ar ) : String | ||
ar | IAsyncResult | |
Résultat | String |
protected InitializeServerConnection ( ) : void | ||
Résultat | void |
protected IntBeginRead ( Byte buffer, |
||
buffer | Byte | |
offset | ||
count | ||
callback | AsyncCallback | |
state | Object | |
Résultat | IAsyncResult |
protected IntBeginWrite ( Byte buffer, |
||
buffer | Byte | |
offset | ||
count | ||
callback | AsyncCallback | |
state | Object | |
Résultat | IAsyncResult |
protected IntEndRead ( IAsyncResult ar ) : |
||
ar | IAsyncResult | |
Résultat |
protected IntEndWrite ( IAsyncResult ar ) : void | ||
ar | IAsyncResult | |
Résultat | void |
public Read ( Byte buffer, |
||
buffer | Byte | |
offset | ||
size | ||
Résultat |
public Receive ( Byte buffer, |
||
buffer | Byte | |
offset | ||
size | ||
Résultat |
public ReceiveAllRemaining ( |
||
bufferSize | Size of receive buffer used for each pass | |
Résultat | Byte[] |
public ReceiveToStream ( Stream stream ) : void | ||
stream | Stream | |
Résultat | void |
public ReceiveToStream ( Stream stream, System.Int64 size ) : void | ||
stream | Stream | |
size | System.Int64 | |
Résultat | void |
public ReceiveToStream ( Stream stream, System.Int64 size, |
||
stream | Stream | |
size | System.Int64 | |
bufferSize | ||
Résultat | void |
public ReceiveWhatsAvailable ( Byte buffer, |
||
buffer | Byte | |
offset | ||
size | ||
Résultat |
public Seek ( System.Int64 offset, SeekOrigin origin ) : System.Int64 | ||
offset | System.Int64 | |
origin | SeekOrigin | |
Résultat | System.Int64 |
public Send ( Byte buffer, |
||
buffer | Byte | |
offset | ||
size | ||
Résultat |
public SendFromStream ( Stream stream ) : void | ||
stream | Stream | |
Résultat | void |
public SendFromStream ( Stream stream, System.Int64 size ) : void | ||
stream | Stream | |
size | System.Int64 | |
Résultat | void |
public SendFromStream ( Stream stream, System.Int64 size, |
||
stream | Stream | |
size | System.Int64 | |
bufferSize | ||
Résultat | void |
public SetLength ( System.Int64 length ) : void | ||
length | System.Int64 | |
Résultat | void |
protected TriggerAsyncDisconnect ( ) : void | ||
Résultat | void |
protected TriggerAsyncHaveIncompleteData ( ) : void | ||
Résultat | void |
protected TriggerOnBytesReceived ( System.Int64 count ) : void | ||
count | System.Int64 | |
Résultat | void |
protected TriggerOnBytesSent ( System.Int64 count ) : void | ||
count | System.Int64 | |
Résultat | void |
public Write ( Byte buffer, |
||
buffer | Byte | |
offset | ||
size | ||
Résultat | void |