ConnectSocket Property

SocketAsyncEventArgs.ConnectSocket Property

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

The created and connected Socket object after successful completion of the ConnectAsync method.

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

'Declaration
Public ReadOnly Property ConnectSocket As Socket

Property Value

Type: System.Net.Sockets.Socket
The connected Socket object.

After successful completion of the ConnectAsync method, this property contains the newly created and connected Socket object.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft