socket.send
Jump to navigation
Jump to search
Method
Server Only
Online and Offline
Available since Server 1.0.0
void socket.send(string data)
The socket.send method is used to send a packet of data to the listening server.
Parameters
1) | string | data | The data to send to the socket. |
Return
void | This method doesn't return a value. |
Types
Client
Socket
Notes
- This is only used if the socket was started in client mode via socket.connect.
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