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