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);
Sockets are created in blocking mode by default. To set the socket to non-blocking mode, set Blocking false.
Socket Class | Socket Members | System.Net.Sockets Namespace