socket.close

From GTA Connected
Revision as of 15:28, 24 August 2019 by Mex (talk | contribs) (Mex moved page Socket.close to socket.close)
(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.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