doBind() — netty Function Reference
Architecture documentation for the doBind() function in IoUringDatagramChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ef7026fa_f124_c323_2add_fa7765627a28["doBind()"] 15b83cff_6ad6_b58a_64e5_7942764a0d6c["IoUringDatagramChannel"] ef7026fa_f124_c323_2add_fa7765627a28 -->|defined in| 15b83cff_6ad6_b58a_64e5_7942764a0d6c 5139df4f_43e6_5eae_c4d6_d369db22201d["InetSocketAddress()"] ef7026fa_f124_c323_2add_fa7765627a28 -->|calls| 5139df4f_43e6_5eae_c4d6_d369db22201d style ef7026fa_f124_c323_2add_fa7765627a28 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringDatagramChannel.java lines 302–315
@Override
protected void doBind(SocketAddress localAddress) throws Exception {
if (localAddress instanceof InetSocketAddress) {
InetSocketAddress socketAddress = (InetSocketAddress) localAddress;
if (socketAddress.getAddress().isAnyLocalAddress() &&
socketAddress.getAddress() instanceof Inet4Address) {
if (socket.family() == SocketProtocolFamily.INET6) {
localAddress = new InetSocketAddress(LinuxSocket.INET6_ANY, socketAddress.getPort());
}
}
}
super.doBind(localAddress);
active = true;
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does doBind() do?
doBind() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringDatagramChannel.java.
Where is doBind() defined?
doBind() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringDatagramChannel.java at line 302.
What does doBind() call?
doBind() calls 1 function(s): InetSocketAddress.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free