CFSocket.CFSocketAcceptEventArgs.CreateSocket Method

Definition

Creates a new CFSocket from the accepted connection

public CoreFoundation.CFSocket CreateSocket ();
member this.CreateSocket : unit -> CoreFoundation.CFSocket

Returns

The new instance of the created socket

Remarks

This could throw a CFSocketException if there is an error trying to create the socket.

Applies to