testBindNonIpv6SocketToInet6AddressThrows() — netty Function Reference
Architecture documentation for the testBindNonIpv6SocketToInet6AddressThrows() function in LinuxSocketTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD fb37a75a_1f97_ea04_0648_44d33729a4a6["testBindNonIpv6SocketToInet6AddressThrows()"] 4a9abc5d_1dba_c643_f76d_b922328fd23f["LinuxSocketTest"] fb37a75a_1f97_ea04_0648_44d33729a4a6 -->|defined in| 4a9abc5d_1dba_c643_f76d_b922328fd23f style fb37a75a_1f97_ea04_0648_44d33729a4a6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-native-epoll/src/test/java/io/netty/channel/epoll/LinuxSocketTest.java lines 40–55
@Test
public void testBindNonIpv6SocketToInet6AddressThrows() throws Exception {
final LinuxSocket socket = LinuxSocket.newSocketStream(false);
try {
assertThrows(IOException.class, new Executable() {
@Override
public void execute() throws Throwable {
socket.bind(new InetSocketAddress(InetAddress.getByAddress(
new byte[]{'0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1'}),
0));
}
});
} finally {
socket.close();
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testBindNonIpv6SocketToInet6AddressThrows() do?
testBindNonIpv6SocketToInet6AddressThrows() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/LinuxSocketTest.java.
Where is testBindNonIpv6SocketToInet6AddressThrows() defined?
testBindNonIpv6SocketToInet6AddressThrows() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/LinuxSocketTest.java at line 40.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free