Methods Summary |
---|
public LocalSocket | accept()Accepts a new connection to the socket. Blocks until a new
connection arrives.
LocalSocketImpl acceptedImpl = new LocalSocketImpl();
impl.accept (acceptedImpl);
return new LocalSocket(acceptedImpl, LocalSocket.SOCKET_UNKNOWN);
|
public void | close()Closes server socket.
impl.close();
|
public java.io.FileDescriptor | getFileDescriptor()Returns file descriptor or null if not yet open/already closed
return impl.getFileDescriptor();
|
public LocalSocketAddress | getLocalSocketAddress()Obtains the socket's local address
return localAddress;
|