Socket.blocking

Get/set socket's blocking flag.

When a socket is blocking, calls to receive(), accept(), and send() will block and wait for data/action. A non-blocking socket will immediately return instead of blocking.

  1. bool blocking [@property getter]
  2. bool blocking [@property setter]
    class Socket
    @property @trusted
    void
    blocking
    (
    bool byes
    )

Meta

Suggestion Box / Bug Report