Home / Function/ doBind() — netty Function Reference

doBind() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  12074d13_3833_88c3_0195_839fca8472ef["doBind()"]
  7afdfb1c_e11f_1098_0422_fb18184eba53["IoUringServerSocketChannel"]
  12074d13_3833_88c3_0195_839fca8472ef -->|defined in| 7afdfb1c_e11f_1098_0422_fb18184eba53
  style 12074d13_3833_88c3_0195_839fca8472ef fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringServerSocketChannel.java lines 78–89

    @Override
    public void doBind(SocketAddress localAddress) throws Exception {
        super.doBind(localAddress);
        if (IoUring.isTcpFastOpenServerSideAvailable()) {
            Integer fastOpen = config().getOption(ChannelOption.TCP_FASTOPEN);
            if (fastOpen != null && fastOpen > 0) {
                socket.setTcpFastOpen(fastOpen);
            }
        }
        socket.listen(config.getBacklog());
        active = true;
    }

Domain

Subdomains

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/IoUringServerSocketChannel.java.
Where is doBind() defined?
doBind() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringServerSocketChannel.java at line 78.

Analyze Your Own Codebase

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

Try Supermodel Free