C# Class RioSharp.RioConnectionlessSocketPool

Inheritance: RioSocketPool
Exibir arquivo Open project: aL3891/RioSharp Class Usage Examples

Public Methods

Method Description
Bind ( ) : RioConnectionlessSocket

Binds a socket to the default ip and port

Bind ( IPEndPoint localEP ) : RioConnectionlessSocket

Binds a socket to a local ip and port, for multicast applications sending to a destinations on the same machine, use port 0

RioConnectionlessSocketPool ( RioFixedBufferPool sendPool, RioFixedBufferPool revicePool, ADDRESS_FAMILIES adressFam, SOCKET_TYPE sockType, PROTOCOL protocol, uint maxOutstandingReceive = 1024, uint maxOutstandingSend = 1024, uint maxSockets = 128, int adressBufferSize = 1024 ) : System

Method Details

Bind() public method

Binds a socket to the default ip and port
public Bind ( ) : RioConnectionlessSocket
return RioConnectionlessSocket

Bind() public method

Binds a socket to a local ip and port, for multicast applications sending to a destinations on the same machine, use port 0
public Bind ( IPEndPoint localEP ) : RioConnectionlessSocket
localEP System.Net.IPEndPoint
return RioConnectionlessSocket

RioConnectionlessSocketPool() public method

public RioConnectionlessSocketPool ( RioFixedBufferPool sendPool, RioFixedBufferPool revicePool, ADDRESS_FAMILIES adressFam, SOCKET_TYPE sockType, PROTOCOL protocol, uint maxOutstandingReceive = 1024, uint maxOutstandingSend = 1024, uint maxSockets = 128, int adressBufferSize = 1024 ) : System
sendPool RioFixedBufferPool
revicePool RioFixedBufferPool
adressFam ADDRESS_FAMILIES
sockType SOCKET_TYPE
protocol PROTOCOL
maxOutstandingReceive uint
maxOutstandingSend uint
maxSockets uint
adressBufferSize int
return System