Core Function SSApprove

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
UberFoX (Talk | contribs)
(Created page with "<pre> SSApprove( <server>, <client socket> ) </pre> === Description === Approve a client to connect to the server. === Parameters === ==== <server> ==== The server object to...")
Newer edit →

Revision as of 12:44, 1 December 2011

SSApprove( <server>, <client socket> )

Contents

Description

Approve a client to connect to the server.

Parameters

<server>

The server object to use.

<client socket>

The client to approve.

Return Value

Success: Returns 1.

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

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox