//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public void connect() throws java.io.IOException public virtual void connect() { openChannel(); if (!socketChannel.Connected && !socketChannel.ConnectionPending) { SocketAddress socketAddress = new InetSocketAddress(InetAddress.getByAddress(destinationIPAddress), destinationPort); socketChannel.connect(socketAddress); } }