| Package | Description |
|---|---|
| com.badlogic.gdx | |
| com.badlogic.gdx.net |
| Modifier and Type | Method and Description |
|---|---|
Socket |
Net.newClientSocket(Net.Protocol protocol,
String host,
int port,
SocketHints hints)
Creates a new TCP client socket that connects to the given host and port.
|
| Modifier and Type | Method and Description |
|---|---|
Socket |
ServerSocket.accept(SocketHints hints)
Accepts a new incoming connection from a client
Socket. |
Socket |
NetJavaServerSocketImpl.accept(SocketHints hints) |
| Constructor and Description |
|---|
NetJavaSocketImpl(Net.Protocol protocol,
String host,
int port,
SocketHints hints) |
NetJavaSocketImpl(Socket socket,
SocketHints hints) |
Copyright © 2021. All rights reserved.