Implement protocol property for IOCPTransport

This commit is contained in:
2017-02-08 21:21:12 +01:00
parent 48a49c2a2d
commit 63c6226a2a
3 changed files with 51 additions and 7 deletions

View File

@@ -80,6 +80,9 @@ interface DuplexTransport : ReadTransport, WriteTransport
*/
interface SocketTransport : Transport
{
/**
* Returns: Socket.
*/
@property Socket socket() pure nothrow @safe @nogc;
}