C# Class RioSharp.RioSocket

Inheritance: IDisposable
Mostrar archivo Open project: aL3891/RioSharp Class Usage Examples

Protected Properties

Property Type Description
inUse bool

Public Methods

Method Description
AllocateAdress ( IPEndPoint remoteAdress ) : RioBufferSegment
BeginReceive ( ) : RioBufferSegment
BeginReceive ( RioBufferSegment segment ) : RioBufferSegment
Dispose ( ) : void
Flush ( ) : void
GetSocketOption ( IPPROTO_IPV6_SocketOptions option, void value, int valueLength ) : int
GetSocketOption ( IPPROTO_IP_SocketOptions option, void value, int valueLength ) : int
GetSocketOption ( IPPROTO_TCP_SocketOptions option, void value, int valueLength ) : int
GetSocketOption ( IPPROTO_UDP_SocketOptions option, void value, int valueLength ) : int
GetSocketOption ( MCAST_SocketOptions option, void value, int valueLength ) : int
GetSocketOption ( SOL_SOCKET_SocketOptions option, void value, int valueLength ) : int
Send ( RioBufferSegment Segment ) : RioBufferSegment
Send ( byte buffer ) : RioBufferSegment
Send ( byte buffer, IPEndPoint remoteAdress ) : RioBufferSegment
Send ( byte buffer, int offset, int count ) : RioBufferSegment
SetLinger ( int value ) : void
SetLoopbackFastPath ( bool value ) : void
SetSocketOption ( IPPROTO_IPV6_SocketOptions option, void value, int valueLength ) : int
SetSocketOption ( IPPROTO_IP_SocketOptions option, void value, int valueLength ) : int
SetSocketOption ( IPPROTO_TCP_SocketOptions option, void value, int valueLength ) : int
SetSocketOption ( IPPROTO_UDP_SocketOptions option, void value, int valueLength ) : int
SetSocketOption ( MCAST_SocketOptions option, void value, int valueLength ) : int
SetSocketOption ( SOL_SOCKET_SocketOptions option, void value, int valueLength ) : int
SetTcpNoDelay ( bool value ) : void

Private Methods

Method Description
ResetSocket ( ) : void
RioSocket ( RioFixedBufferPool sendBufferPool, RioFixedBufferPool receiveBufferPool, RioFixedBufferPool adressBufferPool, uint maxOutstandingReceive, uint maxOutstandingSend, IntPtr SendCompletionQueue, IntPtr ReceiveCompletionQueue, ADDRESS_FAMILIES adressFam, SOCKET_TYPE sockType, PROTOCOL protocol ) : System
Send ( RioBufferSegment segment, IPEndPoint remoteAdress, RIO_SEND_FLAGS flags ) : void
Send ( RioBufferSegment segment, RIO_SEND_FLAGS flags ) : void
Send ( RioBufferSegment segment, RioBufferSegment remoteAdress, RIO_SEND_FLAGS flags ) : void
SendAndDispose ( RioBufferSegment segment, IPEndPoint remoteAdress, RIO_SEND_FLAGS flags ) : void
SendAndDispose ( RioBufferSegment segment, RIO_SEND_FLAGS flags ) : void
SendAndDispose ( RioBufferSegment segment, RioBufferSegment remoteAdress, RIO_SEND_FLAGS flags ) : void
SetInUse ( bool value ) : void

Method Details

AllocateAdress() public method

public AllocateAdress ( IPEndPoint remoteAdress ) : RioBufferSegment
remoteAdress System.Net.IPEndPoint
return RioBufferSegment

BeginReceive() public method

public BeginReceive ( ) : RioBufferSegment
return RioBufferSegment

BeginReceive() public method

public BeginReceive ( RioBufferSegment segment ) : RioBufferSegment
segment RioBufferSegment
return RioBufferSegment

Dispose() public method

public Dispose ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

GetSocketOption() public method

public GetSocketOption ( IPPROTO_IPV6_SocketOptions option, void value, int valueLength ) : int
option IPPROTO_IPV6_SocketOptions
value void
valueLength int
return int

GetSocketOption() public method

public GetSocketOption ( IPPROTO_IP_SocketOptions option, void value, int valueLength ) : int
option IPPROTO_IP_SocketOptions
value void
valueLength int
return int

GetSocketOption() public method

public GetSocketOption ( IPPROTO_TCP_SocketOptions option, void value, int valueLength ) : int
option IPPROTO_TCP_SocketOptions
value void
valueLength int
return int

GetSocketOption() public method

public GetSocketOption ( IPPROTO_UDP_SocketOptions option, void value, int valueLength ) : int
option IPPROTO_UDP_SocketOptions
value void
valueLength int
return int

GetSocketOption() public method

public GetSocketOption ( MCAST_SocketOptions option, void value, int valueLength ) : int
option MCAST_SocketOptions
value void
valueLength int
return int

GetSocketOption() public method

public GetSocketOption ( SOL_SOCKET_SocketOptions option, void value, int valueLength ) : int
option SOL_SOCKET_SocketOptions
value void
valueLength int
return int

Send() public method

public Send ( RioBufferSegment Segment ) : RioBufferSegment
Segment RioBufferSegment
return RioBufferSegment

Send() public method

public Send ( byte buffer ) : RioBufferSegment
buffer byte
return RioBufferSegment

Send() public method

public Send ( byte buffer, IPEndPoint remoteAdress ) : RioBufferSegment
buffer byte
remoteAdress System.Net.IPEndPoint
return RioBufferSegment

Send() public method

public Send ( byte buffer, int offset, int count ) : RioBufferSegment
buffer byte
offset int
count int
return RioBufferSegment

SetLinger() public method

public SetLinger ( int value ) : void
value int
return void

SetLoopbackFastPath() public method

public SetLoopbackFastPath ( bool value ) : void
value bool
return void

SetSocketOption() public method

public SetSocketOption ( IPPROTO_IPV6_SocketOptions option, void value, int valueLength ) : int
option IPPROTO_IPV6_SocketOptions
value void
valueLength int
return int

SetSocketOption() public method

public SetSocketOption ( IPPROTO_IP_SocketOptions option, void value, int valueLength ) : int
option IPPROTO_IP_SocketOptions
value void
valueLength int
return int

SetSocketOption() public method

public SetSocketOption ( IPPROTO_TCP_SocketOptions option, void value, int valueLength ) : int
option IPPROTO_TCP_SocketOptions
value void
valueLength int
return int

SetSocketOption() public method

public SetSocketOption ( IPPROTO_UDP_SocketOptions option, void value, int valueLength ) : int
option IPPROTO_UDP_SocketOptions
value void
valueLength int
return int

SetSocketOption() public method

public SetSocketOption ( MCAST_SocketOptions option, void value, int valueLength ) : int
option MCAST_SocketOptions
value void
valueLength int
return int

SetSocketOption() public method

public SetSocketOption ( SOL_SOCKET_SocketOptions option, void value, int valueLength ) : int
option SOL_SOCKET_SocketOptions
value void
valueLength int
return int

SetTcpNoDelay() public method

public SetTcpNoDelay ( bool value ) : void
value bool
return void

Property Details

inUse protected_oe property

protected bool inUse
return bool