C# Class Xedia.Net.Sockets.SocketHelper

Socket helper methods, most of which are included for the purpose or resolving compatibility issuers with the "Compact Framework"
显示文件 Open project: grodansparadis/vscp_firmware Class Usage Examples

Public Methods

Method Description
CreateLocalEndPoint ( int port ) : IPEndPoint
SetAddressReuseFlag ( Socket socket, bool optionValue ) : void

Private Methods

Method Description
CheckEntryPoint ( string library, string method ) : bool

Checks whether a specified method exists on the local computer.

FreeLibrary ( IntPtr hLibModule ) : int
GetProcAddress ( IntPtr hModule, string lpProcName ) : IntPtr
LoadLibrary ( string lpLibFileName ) : IntPtr
setsockopt ( [ socketHandle, [ optionLevel, [ optionName, [ optionValue, [ optionLength ) : int

Method Details

CreateLocalEndPoint() public static method

public static CreateLocalEndPoint ( int port ) : IPEndPoint
port int
return System.Net.IPEndPoint

SetAddressReuseFlag() public static method

public static SetAddressReuseFlag ( Socket socket, bool optionValue ) : void
socket Socket
optionValue bool
return void