vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Function EventDriverSockets.releaseRef

Decrements the reference count of the given socket.

abstract bool releaseRef (
  SocketFD descriptor
) nothrow @safe;

Once the reference count reaches zero, all associated resources will be freed and the resource descriptor gets invalidated.

Returns

Returns false iff the last reference was removed by this call.

Passing an invalid handle will result in a return value of true.

Authors
Copyright
License