socket.close

From GTA Connected
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.close(void)

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

Parameters

void This method doesn't take any parameters.

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