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.Blocking

Gets and sets the blocking mode of a socket.

[Visual Basic]
Public Property Blocking As Boolean
[C#]
public bool Blocking {get; set;}
[C++]
public: __property bool get_Blocking();
public: __property void set_Blocking(bool);
[JScript]
public function get Blocking() : Boolean;
public function set Blocking(Boolean);

Remarks

Sockets are created in blocking mode by default. To set the socket to non-blocking mode, set Blocking false.

See Also

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