แก้ไข

แชร์ผ่าน


SocketAsyncEventArgs.ConnectSocket Property

Definition

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

public:
 property System::Net::Sockets::Socket ^ ConnectSocket { System::Net::Sockets::Socket ^ get(); };
public System.Net.Sockets.Socket ConnectSocket { get; }
public System.Net.Sockets.Socket? ConnectSocket { get; }
member this.ConnectSocket : System.Net.Sockets.Socket
Public ReadOnly Property ConnectSocket As Socket

Property Value

The connected Socket object.

Remarks

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

Applies to

See also