Home / Function/ InetSocketAddress() — netty Function Reference

InetSocketAddress() — netty Function Reference

Architecture documentation for the InetSocketAddress() function in Socket.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e701859e_a9ff_a0e2_4446_7ebb38ebabc9["InetSocketAddress()"]
  c1db2c0c_ff79_5334_3102_02a56efa545c["Socket"]
  e701859e_a9ff_a0e2_4446_7ebb38ebabc9 -->|defined in| c1db2c0c_ff79_5334_3102_02a56efa545c
  c0a8a0c7_0dc7_21c8_6f63_61ee1468bdab["remoteAddress()"]
  e701859e_a9ff_a0e2_4446_7ebb38ebabc9 -->|calls| c0a8a0c7_0dc7_21c8_6f63_61ee1468bdab
  5402a768_3ff5_942f_8ec8_99f76fca4f61["localAddress()"]
  e701859e_a9ff_a0e2_4446_7ebb38ebabc9 -->|calls| 5402a768_3ff5_942f_8ec8_99f76fca4f61
  style e701859e_a9ff_a0e2_4446_7ebb38ebabc9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-unix-common/src/main/java/io/netty/channel/unix/Socket.java lines 412–417

    public final InetSocketAddress remoteAddress() {
        byte[] addr = remoteAddress(fd);
        // addr may be null if getpeername failed.
        // See https://github.com/netty/netty/issues/3328
        return addr == null ? null : address(addr, 0, addr.length);
    }

Domain

Subdomains

Frequently Asked Questions

What does InetSocketAddress() do?
InetSocketAddress() is a function in the netty codebase, defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/Socket.java.
Where is InetSocketAddress() defined?
InetSocketAddress() is defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/Socket.java at line 412.
What does InetSocketAddress() call?
InetSocketAddress() calls 2 function(s): localAddress, remoteAddress.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free