Function Connection.socket

Obtains std.socket.Socket of the connection to the server

std.socket.Socket socket();

Due to a limitation of Socket actually for the Socket creation duplicate of internal posix socket will be used.