AcceptSocket Property

SocketAsyncEventArgs.AcceptSocket Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the socket to use or the socket created for accepting a connection with an asynchronous socket method.

Namespace:  System.Net.Sockets
Assembly:  System.Net (in System.Net.dll)

'Declaration
Public Property AcceptSocket As Socket

Property Value

Type: System.Net.Sockets.Socket
The Socket to use or the socket created for accepting a connection with an asynchronous socket method.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft