NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Socket.Connected

Gets the connection state of the socket.

[Visual Basic]
Public ReadOnly Property Connected As Boolean
[C#]
public bool Connected {get;}
[C++]
public: __property bool get_Connected();
[JScript]
public function get Connected() : Boolean;

Remarks

Connected returns true if the socket has connected to a remote resource or if the socket has accepted a connection from a remote resource; otherwise Connected returns false.

See Also

Socket Class | Socket Members | System.Net.Sockets Namespace