C# Class SharpCifs.Util.Sharpen.SocketEx

Inheritance: Socket
Show file Open project: brandonprry/Potato Class Usage Examples

Public Methods

Method Description
Bind2 ( EndPoint ep ) : void
Connect ( IPEndPoint endPoint, int timeOut ) : void
GetInputStream ( ) : InputStream
GetOutputStream ( ) : SharpCifs.Util.Sharpen.OutputStream
Receive ( byte buffer, int offset, int count ) : int
Send ( byte buffer, int offset, int length, EndPoint destination = null ) : void
SocketEx ( AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType ) : System

Method Details

Bind2() public method

public Bind2 ( EndPoint ep ) : void
ep System.Net.EndPoint
return void

Connect() public method

public Connect ( IPEndPoint endPoint, int timeOut ) : void
endPoint System.Net.IPEndPoint
timeOut int
return void

GetInputStream() public method

public GetInputStream ( ) : InputStream
return InputStream

GetOutputStream() public method

public GetOutputStream ( ) : SharpCifs.Util.Sharpen.OutputStream
return SharpCifs.Util.Sharpen.OutputStream

Receive() public method

public Receive ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Send() public method

public Send ( byte buffer, int offset, int length, EndPoint destination = null ) : void
buffer byte
offset int
length int
destination System.Net.EndPoint
return void

SocketEx() public method

public SocketEx ( AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType ) : System
addressFamily AddressFamily
socketType SocketType
protocolType ProtocolType
return System