(int socket, int host, int port)
| 99 | } |
| 100 | |
| 101 | private void doConnect(int socket, int host, int port) |
| 102 | throws IOException |
| 103 | { |
| 104 | connected = natDoConnect(socket, host, port); |
| 105 | } |
| 106 | |
| 107 | public int read(ByteBuffer b) throws IOException { |
| 108 | if (! isOpen()) return -1; |