Core Function SSClientIP

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> SSClientIP( <server>, <client socket> ) </pre> === Description === Get the IP of a client socket. === Parameters === ==== <server> ==== The server object to use. ====...")
 
m (1 revision)

Revision as of 21:40, 11 August 2014

SSClientIP( <server>, <client socket> )

Contents

Description

Get the IP of a client socket.

Parameters

<server>

The server object to use.

<client socket>

The client to get the IP from.

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