- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getLocalPort (0.21 sec)
-
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java
serverSocketChannel = UnixServerSocketChannel.open(); serverSocketChannel.configureBlocking(true); serverSocketChannel.socket().bind(address); } @Override public int getLocalPort() { return 1; // A white lie. There is no local port. } @Override public SocketAddress getLocalSocketAddress() { return endpoint; }
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Feb 12 16:33:52 GMT 2019 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
public InetAddress getLocalAddress() { return super.getLocalAddress(); } public int getLocalPort() { return super.getLocalPort(); } public String toString() { return "NbtSocket[addr=" + address + ",port=" + super.getPort() + ",localport=" + super.getLocalPort() + "]"; } private void connect() throws IOException { byte[] buffer = new byte[BUFFER_SIZE];
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 4.8K bytes - Viewed (0)