Mono Class Library: System.Net.Sockets.Socket Overview | Members

System.Net.Sockets.Socket.Blocking Property

Gets or sets a bool value that indicates whether the socket is in blocking mode. [Edit]

public bool Blocking { set; get; }

Value

true indicates that the current instance is in blocking mode; false indicates that the current instance is in non-blocking mode. [Edit]

Exceptions

TypeReason
ObjectDisposedExceptionThe current instance has been disposed. [Edit]

Remarks

Blocking is when a method waits to complete an operation before returning. Sockets are created in blocking mode by default. [Edit]

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0