UDPProxyTransportFactoryCreateSocket Method |
Létrehozza vagy előszedi a socket pool bol a socket et
Namespace: Ozeki.NetworkAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax protected bool CreateSocket(
int localPort,
bool portSharingEnabled,
out Socket socket
)
Protected Function CreateSocket (
localPort As Integer,
portSharingEnabled As Boolean,
<OutAttribute> ByRef socket As Socket
) As Boolean
protected:
bool CreateSocket(
int localPort,
bool portSharingEnabled,
[OutAttribute] Socket^% socket
)
member CreateSocket :
localPort : int *
portSharingEnabled : bool *
socket : Socket byref -> bool
Parameters
- localPort
- Type: SystemInt32
- portSharingEnabled
- Type: SystemBoolean
- socket
- Type: System.Net.SocketsSocket
Return Value
Type:
BooleanMost lett hozzáadva a socketPool hoz
See Also