Package | Description |
---|---|
java.net |
Contains network classes.
|
Modifier and Type | Method and Description |
---|---|
static InetSocketAddress |
InetSocketAddress.createUnresolved(java.lang.String host,
int port)
Creates an unresolved socket address from a hostname and a port number.
|