Метод |
Описание |
|
Destroy ( ) : void |
Releases all resources used by this instance and shuts down the inner T:Socket. This instance will not be usable anymore. Use the IDisposable.Dispose method if you want to release this instance back into the pool. |
|
PooledSocket ( IPEndPoint endpoint, System.TimeSpan connectionTimeout, System.TimeSpan receiveTimeout, System.TimeSpan keepAliveStartDelay, System.TimeSpan keepAliveInterval ) : System |
|
|
Read ( byte buffer, int offset, int count ) : void |
Reads data from the server into the specified buffer. This method blocks and will not return until the specified amount of bytes are read. |
|
ReadByte ( ) : int |
Reads the next byte from the server's response. This method blocks and will not return until the value is read. |
|
ReceiveAsync ( AsyncIOArgs p ) : bool |
Receives data asynchronously. Returns true if the IO is pending. Returns false if the socket already failed or the data was available in the buffer. p.Next will only be called if the call completes asynchronously. |
|
Reset ( ) : void |
|
|
Write ( IList buffers ) : void |
|
|
Write ( byte data, int offset, int length ) : void |
|
|