Home / Function/ Socket() — netty Function Reference

Socket() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  e74eaf71_6af3_e7fb_1697_ec27c6e1ba6e["Socket()"]
  c1db2c0c_ff79_5334_3102_02a56efa545c["Socket"]
  e74eaf71_6af3_e7fb_1697_ec27c6e1ba6e -->|defined in| c1db2c0c_ff79_5334_3102_02a56efa545c
  86e33ec3_06e1_c86f_2cd2_20953ba0c5c7["isIPv6()"]
  e74eaf71_6af3_e7fb_1697_ec27c6e1ba6e -->|calls| 86e33ec3_06e1_c86f_2cd2_20953ba0c5c7
  04a300fb_8059_92dd_4850_a45627662aef["newSocketStream0()"]
  e74eaf71_6af3_e7fb_1697_ec27c6e1ba6e -->|calls| 04a300fb_8059_92dd_4850_a45627662aef
  5bf22e48_5748_0d16_fc7b_36890c1532dc["newSocketDgram0()"]
  e74eaf71_6af3_e7fb_1697_ec27c6e1ba6e -->|calls| 5bf22e48_5748_0d16_fc7b_36890c1532dc
  4bf86162_094c_f224_d645_c14f37efbe1a["newSocketDomain0()"]
  e74eaf71_6af3_e7fb_1697_ec27c6e1ba6e -->|calls| 4bf86162_094c_f224_d645_c14f37efbe1a
  7ffbe2a3_0da3_f245_d694_e9b365f13bc7["newSocketDomainDgram0()"]
  e74eaf71_6af3_e7fb_1697_ec27c6e1ba6e -->|calls| 7ffbe2a3_0da3_f245_d694_e9b365f13bc7
  style e74eaf71_6af3_e7fb_1697_ec27c6e1ba6e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

    public Socket(int fd) {
        super(fd);
        ipv6 = isIPv6(fd);
    }

Domain

Subdomains

Frequently Asked Questions

What does Socket() do?
Socket() is a function in the netty codebase, defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/Socket.java.
Where is Socket() defined?
Socket() is defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/Socket.java at line 57.
What does Socket() call?
Socket() calls 5 function(s): isIPv6, newSocketDgram0, newSocketDomain0, newSocketDomainDgram0, newSocketStream0.

Analyze Your Own Codebase

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

Try Supermodel Free