LumiSoft Net Help
CreateSocket Method (localEP, protocolType)
NamespacesLumiSoft.NetNet_UtilsCreateSocket(IPEndPoint, ProtocolType)
Creates new socket for the specified end point.
Declaration Syntax
C#Visual BasicVisual C++F#
public static Socket CreateSocket(
	IPEndPoint localEP,
	ProtocolType protocolType
)
Public Shared Function CreateSocket ( 
	localEP As IPEndPoint,
	protocolType As ProtocolType
) As Socket
public:
static Socket^ CreateSocket(
	IPEndPoint^ localEP, 
	ProtocolType protocolType
)
static member CreateSocket : 
        localEP : IPEndPoint * 
        protocolType : ProtocolType -> Socket 
Parameters
localEP (IPEndPoint)
Local end point.
protocolType (ProtocolType)
Protocol type.
Return Value
Socket
Retruns newly created socket.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when localEP is null reference.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119