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> ===...") |
|||
(3 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | SSClientStatus( / | + | SSClientStatus( <client/client socket> ) |
</pre> | </pre> | ||
Line 7: | Line 7: | ||
Get the status of a client or of our client. | Get the status of a client or of our client. | ||
− | === Parameters if first param is | + | === Parameters if first param is CLIENT SOCKET === |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
==== <client socket> ==== | ==== <client socket> ==== | ||
Line 27: | Line 23: | ||
Success: Returns the status of the client/client socket. | Success: Returns the status of the client/client socket. | ||
− | Failure: Returns | + | Failure: Returns null. |
=== Remarks === | === Remarks === |
Latest revision as of 06:19, 15 June 2015
SSClientStatus( <client/client socket> )
Contents |
Description
Get the status of a client or of our client.
Parameters if first param is CLIENT SOCKET
<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 null.
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