socket.close

From GTA Connected
Jump to navigation Jump to search

Method Server Only All Games Online and Offline

Server 1.0.0

void socket.close(void)

Description

The socket.close method is used to close the socket connection.

Parameters

Type Description
void This method doesn't take any parameters.

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