|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Net.Protocol | |
---|---|
com.badlogic.gdx | |
com.badlogic.gdx.net |
Uses of Net.Protocol in com.badlogic.gdx |
---|
Methods in com.badlogic.gdx that return Net.Protocol | |
---|---|
static Net.Protocol |
Net.Protocol.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Net.Protocol[] |
Net.Protocol.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in com.badlogic.gdx with parameters of type Net.Protocol | |
---|---|
Socket |
Net.newClientSocket(Net.Protocol protocol,
java.lang.String host,
int port,
SocketHints hints)
Creates a new TCP client socket that connects to the given host and port. |
ServerSocket |
Net.newServerSocket(Net.Protocol protocol,
int port,
ServerSocketHints hints)
Creates a new server socket on the given port, using the given Net.Protocol , waiting for incoming connections. |
Uses of Net.Protocol in com.badlogic.gdx.net |
---|
Methods in com.badlogic.gdx.net that return Net.Protocol | |
---|---|
Net.Protocol |
ServerSocket.getProtocol()
|
|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |