socket.send

From GTA Connected
Revision as of 15:28, 24 August 2019 by Mex (talk | contribs) (Mex moved page Socket.send to socket.send)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Method Server Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png 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