Function Reference

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Sputnik Client/Server Functions)
(Sputnik Client/Server Functions)
Line 309: Line 309:
 
* [[Core Function SSListen|SSListen( <port>, <max connections>, <name>  )]] -- Create a server and begin listening for clients to connect
 
* [[Core Function SSListen|SSListen( <port>, <max connections>, <name>  )]] -- Create a server and begin listening for clients to connect
 
* [[Core Function SSConnect|SSConnect( <ip>, <port>, <connection string>, <name>  )]] -- Connect to a server
 
* [[Core Function SSConnect|SSConnect( <ip>, <port>, <connection string>, <name>  )]] -- Connect to a server
* [[Core Function SSApprove|SSApprove( <not available> )]] -- Approve a client to connect to the server
+
* [[Core Function SSApprove|SSApprove( <server>, <client socket> )]] -- Approve a client to connect to the server
* [[Core Function SSDisapprove|SSDisapprove( <not available> )]] -- Disapprove a client to connect to the server
+
* [[Core Function SSDisapprove|SSDisapprove( <server>, <client socket> )]] -- Disapprove a client to connect to the server
* [[Core Function SSClientStatus|SSClientStatus( <not available> )]] -- Get the status of a client or of our client
+
* [[Core Function SSClientStatus|SSClientStatus( /* depends... /* )]] -- Get the status of a client or of our client
* [[Core Function SSClientIP|SSClientIP( <not available> )]] -- Get the IP of a client connection
+
* [[Core Function SSClientIP|SSClientIP( <server>, <client socket> )]] -- Get the IP of a client socket
* [[Core Function SSRecv|SSRecv( <not available> )]] -- Check for a message recieved from client/server
+
* [[Core Function SSRecv|SSRecv( <server/client> )]] -- Check for a message recieved from client/server
* [[Core Function SSRead|SSRead( <not available> )]] -- Read data from a message
+
* [[Core Function SSRead|SSRead( <server/client>, <message buffer> )]] -- Read data from a message
* [[Core Function SSDrop|SSDrop( <not available> )]] -- Kick a client off the server
+
* [[Core Function SSDrop|SSDrop( <server>, <client socket> )]] -- Kick a client off the server
* [[Core Function SSSendBufferCreate|SSSendBufferCreate( <not available> )]] -- Create a new buffer to store data to send to the client/server
+
* [[Core Function SSSendBufferCreate|SSSendBufferCreate( <server/client> )]] -- Create a new buffer to store data to send to the client/server
* [[Core Function SSSendBufferAppend|SSSendBufferAppend( <not available> )]] -- Add data to the buffer to send such as Strings etc
+
* [[Core Function SSSendBufferAppend|SSSendBufferAppend( <server/client>, <message buffer>, <type>, <data> )]] -- Add data to the buffer to send such as Strings etc
* [[Core Function SSSend|SSSend( <not available> )]] -- Send data to client or server
+
* [[Core Function SSSend|SSSend( /* depends... /* )]] -- Send data to client or server
  
 
==== GUI Functions ====
 
==== GUI Functions ====

Revision as of 12:19, 1 December 2011

Contents

Function Reference

How to create a Function

To create your own funtions see the Function page.

Core Functions

Language Features

Console Functions

Multi-Threading Functions

Variable Type Conversions

Common Variable Functions

Misc
Hash/Array
Type Checking
Get Type Directly

Binary Data Management Functions

Math Functions

String Functions

Array Functions

Hash (Dictionary) Functions

Process Functions

Environment Management

File Functions

File Create/Read/Write Functions
Misc
Dialogs

Directory Functions

Dialogs

Network Functions

HTTP Functions
MySQL Functions
Sputnik Client/Server Functions

GUI Functions

Dialog Creation Functions
Dialog Properties Get/Set Functions
Control Creation Functions
Event Linking Functions
Common Dialog/Control Properties Get/Set Functions
Control Properties Get/Set Functions
Other GUI Functions

Keyboard Control Functions

Mouse Control Functions

Window Management Functions

Controls

Pixel Functions

Misc Functions

User Defined Functions

These functions are created using Sputnik and are not part of the Sputnik core language.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox