Core Function SSSend

From Sputnik Wiki
Revision as of 06:24, 15 June 2015 by UberFoX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
SSSend( /* depends... /* ) 

Contents

Description

Send data to client or server.

Parameters if first param is SERVER

<server>

The server object to use.

<net buffer>

The net buffer object to use.

<client socket>

The client socket to use.

Parameters if first param is CLIENT

<client>

The client object to use.

<net buffer>

The net buffer object to use.

Return Value

Success: Returns true.

Failure: Returns false.

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