socket.send

From GTA Connected
(Redirected from Socket.send)
Jump to: navigation, search

Method Server Only All Games Online and Offline

Server 1.0.0

void socket.send(string data)

Description

The socket.send method is used to send a packet of data to the listening server.

Parameters

Type Name Presence Default Value Description
string data required n/a The data to send to the socket.

Returns

Success Returns

Type Description
void This method doesn't return any values on success.

Failure Returns

Type Value
void n/a

Types

This method can only be used on the Socket type.

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