Edytuj

Udostępnij za pośrednictwem


CFSocket.CreateConnectedToSocketSignature Method

Definition

Creates a connected socket by specifying an address family, socket type, protocol type as well as the endpoint to connect to.

public static CoreFoundation.CFSocket CreateConnectedToSocketSignature (System.Net.Sockets.AddressFamily family, System.Net.Sockets.SocketType type, System.Net.Sockets.ProtocolType proto, System.Net.IPEndPoint endpoint, double timeout);
static member CreateConnectedToSocketSignature : System.Net.Sockets.AddressFamily * System.Net.Sockets.SocketType * System.Net.Sockets.ProtocolType * System.Net.IPEndPoint * double -> CoreFoundation.CFSocket

Parameters

family
AddressFamily
type
SocketType
proto
ProtocolType
endpoint
IPEndPoint
timeout
Double

Time to wait for the operation to complete.   If the value is negative, no wait takes place, and instead the operation takes place in the background.

Returns

Applies to