CFSocket.AcceptEvent Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>