ABoundSocket

interface ABoundSocket

Represents a bound socket

Properties

localAddress

abstract val localAddress: SocketAddress

Local socket address. Could throw an exception if no address bound yet.

Inheritors

BoundDatagramSocket

interface BoundDatagramSocket : 
    ASocket,
    ABoundSocket,
    AReadable,
    DatagramReadWriteChannel

Represents a bound datagram socket

ConnectedDatagramSocket

interface ConnectedDatagramSocket : 
    ASocket,
    ABoundSocket,
    AConnectedSocket,
    ReadWriteSocket,
    DatagramReadWriteChannel

Represents a connected datagram socket.

ServerSocket

interface ServerSocket : 
    ASocket,
    ABoundSocket,
    Acceptable<Socket>

Represents a server bound socket ready for accepting connections

Socket

interface Socket : 
    ReadWriteSocket,
    ABoundSocket,
    AConnectedSocket

Represents a connected socket