LumiSoft Net Help
CreateSocket Method (localEP, protocolType)
NamespacesLumiSoft.NetCoreCreateSocket(IPEndPoint, ProtocolType)
Creates new socket for the specified end point.
Declaration Syntax
C#Visual BasicVisual C++F#
[ObsoleteAttribute("Use Net_Utils.CreateSocket instead of it")]
public static Socket CreateSocket(
	IPEndPoint localEP,
	ProtocolType protocolType
)
<ObsoleteAttribute("Use Net_Utils.CreateSocket instead of it")>
Public Shared Function CreateSocket ( 
	localEP As IPEndPoint,
	protocolType As ProtocolType
) As Socket
public:
[ObsoleteAttribute(L"Use Net_Utils.CreateSocket instead of it")]
static Socket^ CreateSocket(
	IPEndPoint^ localEP, 
	ProtocolType protocolType
)
[<ObsoleteAttribute("Use Net_Utils.CreateSocket instead of it")>]
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.

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