Core Function SSClientStatus
From Sputnik Wiki
(Difference between revisions)
(Created page with "<pre> SSClientStatus( /* depends... /* ) </pre> === Description === Get the status of a client or of our client. === Parameters if first param is SERVER === ==== <server> ===...") |
m (1 revision) |
Revision as of 21:40, 11 August 2014
SSClientStatus( /* depends... /* )
Contents |
Description
Get the status of a client or of our client.
Parameters if first param is SERVER
<server>
The server object to use.
<client socket>
The client socket to use.
Parameters if first param is CLIENT
<client>
The client object to use.
Return Value
Success: Returns the status of the client/client socket.
Failure: Returns 0.
Remarks
This is NOT a generic socket toolset; You can't use this to connect to anything instead it is used to connect Sputnik clients with Sputnik servers in a very easy to use way.
Example
See the Listen() and Connect() for examples