connection

fun Socket.connection(): Connection

Opens socket input and output channels and returns connection object