The OpenD Programming Language

Socket.release

Releases the underlying socket handle from the Socket object. Once it is released, you cannot use the Socket object's methods anymore. This also means the Socket destructor will no longer close the socket - it becomes your responsibility.

To get the handle without releasing it, use the handle property.

class Socket
@property pure nothrow @nogc
socket_t
release
()

Meta