socket.close

From GTA Connected
Jump to: navigation, search

Method Server Only All Games Online and Offline

Server 1.0.0

bool 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
bool Documentation Missing: Description for success return value

Failure Returns

Documentation Missing: Failure returns

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