C# Class Poderosa.PortForwarding.SynchronizedSocket

显示文件 Open project: poderosaproject/poderosa Class Usage Examples

Public Methods

Method Description
BeginReceive ( byte buf, int offset, int length, SocketFlags flags, AsyncCallback cb, object state ) : void
Close ( ) : void
EndReceive ( IAsyncResult ar ) : int
Send ( byte data, int offset, int length, SocketFlags flags ) : int
ShutdownReceive ( ) : void
ShutdownSend ( ) : void
SynchronizedSocket ( Socket s ) : System

Method Details

BeginReceive() public method

public BeginReceive ( byte buf, int offset, int length, SocketFlags flags, AsyncCallback cb, object state ) : void
buf byte
offset int
length int
flags SocketFlags
cb AsyncCallback
state object
return void

Close() public method

public Close ( ) : void
return void

EndReceive() public method

public EndReceive ( IAsyncResult ar ) : int
ar IAsyncResult
return int

Send() public method

public Send ( byte data, int offset, int length, SocketFlags flags ) : int
data byte
offset int
length int
flags SocketFlags
return int

ShutdownReceive() public method

public ShutdownReceive ( ) : void
return void

ShutdownSend() public method

public ShutdownSend ( ) : void
return void

SynchronizedSocket() public method

public SynchronizedSocket ( Socket s ) : System
s Socket
return System