C# Class PgmTransport.PgmSocket

Inheritance: System.Net.Sockets.Socket
Mostra file Open project: jbouzaglou/PetPigeonsESB Class Usage Examples

Public Methods

Method Description
ConvertStructToBytes ( object obj ) : byte[]
EnableGigabit ( ) : bool
GetReceiverStats ( Socket socket ) : _RM_RECEIVER_STATS
GetSendWindow ( ) : _RM_SEND_WINDOW
PgmSocket ( ) : System
SetPgmOption ( Socket socket, int option, byte value ) : void
SetPgmOption ( int option, byte value ) : void
SetSendWindow ( _RM_SEND_WINDOW window ) : void
SetSocketOption ( Socket socket, string name, int option, uint val ) : bool

Method Details

ConvertStructToBytes() public static method

public static ConvertStructToBytes ( object obj ) : byte[]
obj object
return byte[]

EnableGigabit() public method

public EnableGigabit ( ) : bool
return bool

GetReceiverStats() public method

public GetReceiverStats ( Socket socket ) : _RM_RECEIVER_STATS
socket System.Net.Sockets.Socket
return _RM_RECEIVER_STATS

GetSendWindow() public method

public GetSendWindow ( ) : _RM_SEND_WINDOW
return _RM_SEND_WINDOW

PgmSocket() public method

public PgmSocket ( ) : System
return System

SetPgmOption() public static method

public static SetPgmOption ( Socket socket, int option, byte value ) : void
socket System.Net.Sockets.Socket
option int
value byte
return void

SetPgmOption() public method

public SetPgmOption ( int option, byte value ) : void
option int
value byte
return void

SetSendWindow() public method

public SetSendWindow ( _RM_SEND_WINDOW window ) : void
window _RM_SEND_WINDOW
return void

SetSocketOption() public static method

public static SetSocketOption ( Socket socket, string name, int option, uint val ) : bool
socket System.Net.Sockets.Socket
name string
option int
val uint
return bool