메소드 | 설명 | |
---|---|---|
Connect ( string host, int port ) : |
||
Dispose ( ) : void |
TODO: good practices on disconnect
|
|
HumbleClient ( Framing framing = Framing.LengthPrefixed, string delimiter = MessageFraming.DefaultDelimiter, int receiveTimeOut = -1, int sendTimeOut = -1 ) : System.Net.Sockets |
Create a instance of HumbleClient
|
|
Receive ( ) : string | ||
Send ( string data ) : |
메소드 | 설명 | |
---|---|---|
CreateStream ( ) : void |
public Connect ( string host, int port ) : |
||
host | string | |
port | int | |
리턴 |
public HumbleClient ( Framing framing = Framing.LengthPrefixed, string delimiter = MessageFraming.DefaultDelimiter, int receiveTimeOut = -1, int sendTimeOut = -1 ) : System.Net.Sockets | ||
framing | Framing | Type of framing |
delimiter | string | Demiliter character if framing is Framing.LengthPrefixed |
receiveTimeOut | int | Receive timeout in miliseconds |
sendTimeOut | int | Send timeout in miliseconds |
리턴 | System.Net.Sockets |