프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CRLF | Byte[] | ||
LF | Byte[] |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | IAsyncResult |
public BeginConnect ( |
||
address | ||
port | ||
callback | AsyncCallback | |
state | Object | |
리턴 | IAsyncResult |
protected BeginInitializeServerConnection ( AsyncCallback callback, Object state ) : IAsyncResult | ||
callback | AsyncCallback | |
state | Object | |
리턴 | IAsyncResult |
public BeginRead ( Byte buffer, |
||
buffer | Byte | |
offset | ||
count | ||
callback | AsyncCallback | |
state | Object | |
리턴 | IAsyncResult |
public BeginReadLine ( AsyncCallback callback, Object state ) : IAsyncResult | ||
callback | AsyncCallback | |
state | Object | |
리턴 | IAsyncResult |
public BeginWrite ( Byte buffer, |
||
buffer | Byte | |
offset | ||
count | ||
callback | AsyncCallback | |
state | Object | |
리턴 | IAsyncResult |
public Connect ( |
||
address | ||
port | ||
리턴 | void |
protected DataSocketClose ( System.Boolean dispose ) : void | ||
dispose | System.Boolean | |
리턴 | void |
protected DataSocketConnect ( |
||
endPoint | ||
리턴 | void |
protected DataSocketReceiveWhatsAvaiable ( Byte buffer, |
||
buffer | Byte | |
offset | ||
size | ||
리턴 |
protected DataSocketSend ( Byte buffer ) : |
||
buffer | Byte | |
리턴 |
protected DataSocketSendAsMuchAsPossible ( Byte buffer, |
||
buffer | Byte | |
offset | ||
size | ||
리턴 |
protected EndInitializeServerConnection ( IAsyncResult ar ) : void | ||
ar | IAsyncResult | |
리턴 | void |
protected IntBeginRead ( Byte buffer, |
||
buffer | Byte | |
offset | ||
count | ||
callback | AsyncCallback | |
state | Object | |
리턴 | IAsyncResult |
protected IntBeginWrite ( Byte buffer, |
||
buffer | Byte | |
offset | ||
count | ||
callback | AsyncCallback | |
state | Object | |
리턴 | IAsyncResult |
protected IntEndRead ( IAsyncResult ar ) : |
||
ar | IAsyncResult | |
리턴 |
public Read ( Byte buffer, |
||
buffer | Byte | |
offset | ||
size | ||
리턴 |
public Receive ( Byte buffer, |
||
buffer | Byte | |
offset | ||
size | ||
리턴 |
public ReceiveAllRemaining ( |
||
bufferSize | Size of receive buffer used for each pass | |
리턴 | Byte[] |
public ReceiveToStream ( Stream stream, System.Int64 size ) : void | ||
stream | Stream | |
size | System.Int64 | |
리턴 | void |
public ReceiveToStream ( Stream stream, System.Int64 size, |
||
stream | Stream | |
size | System.Int64 | |
bufferSize | ||
리턴 | void |
public ReceiveWhatsAvailable ( Byte buffer, |
||
buffer | Byte | |
offset | ||
size | ||
리턴 |
public Seek ( System.Int64 offset, SeekOrigin origin ) : System.Int64 | ||
offset | System.Int64 | |
origin | SeekOrigin | |
리턴 | System.Int64 |
public Send ( Byte buffer, |
||
buffer | Byte | |
offset | ||
size | ||
리턴 |
public SendFromStream ( Stream stream, System.Int64 size ) : void | ||
stream | Stream | |
size | System.Int64 | |
리턴 | void |
public SendFromStream ( Stream stream, System.Int64 size, |
||
stream | Stream | |
size | System.Int64 | |
bufferSize | ||
리턴 | void |
protected TriggerAsyncHaveIncompleteData ( ) : void | ||
리턴 | void |
protected TriggerOnBytesReceived ( System.Int64 count ) : void | ||
count | System.Int64 | |
리턴 | void |
protected TriggerOnBytesSent ( System.Int64 count ) : void | ||
count | System.Int64 | |
리턴 | void |
public Write ( Byte buffer, |
||
buffer | Byte | |
offset | ||
size | ||
리턴 | void |