/** * Connect to a remote TSAP that is listening at the destination address. * * @param address * remote IP * @param port * remote port * @return the Connection Object * @throws IOException * is thrown if connection was unsuccessful. */ public TConnection connectTo(InetAddress address, int port) throws IOException { return connectTo(address, port, null, -1); }
/** * Connect to a remote TSAP that is listening at the destination address. * * @param address * remote IP * @param port * remote port * @return the Connection Object * @throws IOException * is thrown if connection was unsuccessful. */ public TConnection connectTo(InetAddress address, int port) throws IOException { return connectTo(address, port, null, -1); }
/** * Connect to a remote TSAP that is listening at the destination address. * * @param address * remote IP * @param port * remote port * @return the Connection Object * @throws IOException * is thrown if connection was unsuccessful. */ public TConnection connectTo(InetAddress address, int port) throws IOException { return connectTo(address, port, null, -1); }
ssduLengths.add(0, spduHeader.length); tConnection = tSAP.connectTo(address, port, localAddr, localPort);
ssduLengths.add(0, spduHeader.length); tConnection = tSAP.connectTo(address, port, localAddr, localPort);
ssduLengths.add(0, spduHeader.length); tConnection = tSAP.connectTo(address, port, localAddr, localPort);
TConnection tConnection = null; tConnection = tSAP.connectTo(address, port);