CRM32Pro SDK  v5.22
Classes | Macros
MODULE 13: INetwork v5.00, network interface

Detailed Description


INetwork manages TCP/IP client and server architecture.
It has support for:
- up to 8 clients
- login with password
- powerful log error system
- reception queue with 1024 slots
- network statistic
- secure transmision layer

It also has two working modes:

- Non-Authoritative Server mode

- Authoritative Server mode

CRM32Pro.Init() builds this interface and CRM32Pro.Quit() removes it.

Classes

class  CRM32Pro_INetwork
 INetwork. More...
 
struct  sClientInfo
 Client information struct. More...
 

Macros

#define INETFEATURE_DISABLE_LOGIN   1
 Used with Features() method. Disables the log into the server for new clients.
 
#define INETWORK_CLIENTSINFO   46
 System Datanet: reply to QueryClientsInfo(). Now you can get updated information using GetClientsInfo().
 
#define INETWORK_CLOSE   44
 System Datanet: close signal.
 
#define INETWORK_DATA   64
 Remote User Datanet: data signal from remote user. It sends the data.
 
#define INETWORK_DATADENIED   70
 Own User Datanet: data signal from own user, denied by the Authoritative Server. It sends the data.
 
#define INETWORK_DATAVALIDATED   68
 Own User Datanet: data signal from own user, accepted by the Authoritative Server. It sends the data.
 
#define INETWORK_ERROR   128
 System Datanet: error signal: connection lost.
 
#define INETWORK_NEWCLIENT   40
 System Datanet: new client signal. It sends its name.
 
#define INETWORK_PING   48
 System Datanet: automatic ping to check if the client-server connection is up.
 
#define INETWORK_QUITCLIENT   42
 System Datanet: quit client signal. It sends its name.