socket.start: Difference between revisions
Jump to navigation
Jump to search
m (Mex moved page Socket.start to socket.start) |
(No difference)
|
Latest revision as of 15:29, 24 August 2019
Method
Server and Client
Online and Offline
Available since Server 1.0.0, Client 1.0.0
void socket.start(int port, int connectionLimit)
The socket.start method is used to start listening on specified port.
Parameters
1) | int | port | The port for the server to listen on. |
2) | int | connectionLimit | The limit for the amount of connections. |
Return
void | This method doesn't return a value. |
Types
Client
Socket
Notes
- Sockets can be either a server (listens for connections) or a client (connects to another socket). This function starts the socket in server-mode.
Examples
There aren't any examples for this method.
Compatibility
There isn't any compatibility information for this method.
Related
Server Related
newSocket
socket.close
socket.connect
socket.delete
socket.send
socket.sendClient
socket.start
socket.stop
Client Related
newSocket
socket.close
socket.connect
socket.delete
socket.send
socket.sendClient
socket.start
socket.stop