C# Class SharpCifs.Util.Sharpen.SocketEx

Inheritance: Socket
Afficher le fichier Open project: brandonprry/Potato Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Bind2 ( EndPoint ep ) : void
ep System.Net.EndPoint
Résultat void

Connect() public méthode

public Connect ( IPEndPoint endPoint, int timeOut ) : void
endPoint System.Net.IPEndPoint
timeOut int
Résultat void

GetInputStream() public méthode

public GetInputStream ( ) : InputStream
Résultat InputStream

GetOutputStream() public méthode

public GetOutputStream ( ) : SharpCifs.Util.Sharpen.OutputStream
Résultat SharpCifs.Util.Sharpen.OutputStream

Receive() public méthode

public Receive ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

Send() public méthode

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

SocketEx() public méthode

public SocketEx ( AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType ) : System
addressFamily AddressFamily
socketType SocketType
protocolType ProtocolType
Résultat System