Class StandardServerSocket

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    class StandardServerSocket
    extends ServerSocket
    Bridge to I2PServerSocket. This extends ServerSocket to make porting apps easier. accept() returns a real Socket (a StandardSocket). accept() throws IOExceptions like ServerSockets do, rather than returning null or throwing I2PExceptions. StandardServerSockets are always bound. You may not create an unbound StandardServerSocket. Create this through the SocketManager.
    Since:
    0.8.4
    Author:
    zzz