메소드 | 설명 | |
---|---|---|
Connect ( |
Disconnects (if needed) and connects the specified end point.
|
|
Disconnect ( ) : void |
Disconnects this socket.
|
|
GetLocalIP ( ) : |
Gets the local IP.
|
|
ReceivePacket ( ) : TcpPacket |
Attempts to receive a tcp packet from the socket.
|
|
Send ( TcpPacket packet ) : void |
Sends the specified packet on the socket.
|
|
Send ( byte data ) : void |
Sends the specified data on the socket.
|
|
TcpSocket ( ) : System.IO |
Initializes a new instance of the TcpSocket class.
|
public Connect ( |
||
endPoint | The end point. | |
리턴 | void |