toRawSocket method Null safety

RawSocket toRawSocket()

Extracts opened raw socket from resource handle.

If this resource handle is not a socket handle, the behavior of the returned RawSocket is completely unspecified. Be very careful to avoid using a handle incorrectly.

Implementation

RawSocket toRawSocket();