C# Class Library.Net.SocketCap

Inheritance: Cap
Mostra file Open project: Alliance-Network/Library Class Usage Examples

Public Methods

Method Description
Receive ( byte buffer, int offset, int size, System.TimeSpan timeout ) : void
Send ( byte buffer, int offset, int size, System.TimeSpan timeout ) : void
SocketCap ( Socket socket ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Receive() public method

public Receive ( byte buffer, int offset, int size, System.TimeSpan timeout ) : void
buffer byte
offset int
size int
timeout System.TimeSpan
return void

Send() public method

public Send ( byte buffer, int offset, int size, System.TimeSpan timeout ) : void
buffer byte
offset int
size int
timeout System.TimeSpan
return void

SocketCap() public method

public SocketCap ( Socket socket ) : System
socket System.Net.Sockets.Socket
return System