Language

CFSocket.AcceptEvent Event

Definition

Raised when the listening socket accepts a new incoming connection. Use the event arguments' RemoteEndPoint to inspect the remote peer and CreateSocket() to obtain a CFSocket for the accepted connection.

public event EventHandler<CoreFoundation.CFSocket.CFSocketAcceptEventArgs>? AcceptEvent;
member this.AcceptEvent : EventHandler<CoreFoundation.CFSocket.CFSocketAcceptEventArgs> 

Event Type

Applies to