Пример #1
0
 public void connectTcp(InetSocketAddress address, IProtocol protocol) throws IOException {
   if (address == null) throw new IOException("アドレスエラー");
   tcpClient.connect(address, ProtocolConstants.TIMEOUT, protocol);
 }