프로퍼티 | 타입 | 설명 | |
---|---|---|---|
MessageReceived | void |
메소드 | 설명 | |
---|---|---|
ClientConnection ( string ip, int port ) : System |
Initializes a new instance of the ClientConnection class. Responsible for client connections to the host/server.
|
|
Close ( ) : void |
Close the socket connection.
|
|
SendString ( string message ) : void |
Send a string to the host.
|
|
Start ( ) : void |
Beging the client connection. Will connect to specified host and begin receiving data.
|
메소드 | 설명 | |
---|---|---|
MessageReceived ( ClientInfo clientInfo, string message ) : void |
Called when a message was received from the connection.
|
public ClientConnection ( string ip, int port ) : System | ||
ip | string | Ips of server. |
port | int | Port of server. |
리턴 | System |
public SendString ( string message ) : void | ||
message | string | Message to send. |
리턴 | void |