Namespaces | Enumerations

protocol.h File Reference

#include "netlib/netlib.h"
#include "aesop-base/errors.h"
Include dependency graph for protocol.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  aesop

Enumerations

enum  aesop::eDefaultPorts {
  aesop::eDefaultPort_clientUdp = 20051,
  aesop::eDefaultPort_serverUdp = 20050,
  aesop::eDefaultPort_serverTcp = 20051,
  aesop::eDefaultPort_Invalid = 0
}
 

these are the default TCP/UDP ports used by the AESOP engine.

More...

Functions

smart_ptr< netlib::MessageBufferaesop::createTcpConnectMessage (long token)
 Message: TcpConnect
From: Client
To: Server
Clients must send one of these whenever they set up a TCP connection with the server.
smart_ptr< netlib::MessageBufferaesop::createNotifyErrorMessage (eErrorCode errorCode, const char *message)
 Message: Notify Error
From: Server
To: Client
General error message from client to server.
smart_ptr< netlib::MessageBufferaesop::createConversationDialogMessage (int localPlayerId, const char *conversationGuid, int dialogId, const char *dialogData)
 Message: Conversation Dialog
From: Server
To: Client

smart_ptr< netlib::MessageBufferaesop::createConversationReplyMessage (int playerId, const char *conversationGuid, int dialogId, const char *reply)
 Message: Conversation Reply
From: Client
To: Server

smart_ptr< netlib::MessageBufferaesop::createRefreshConversationMessage (int playerId, const char *conversationGuid)
 Message: Refresh Conversation
From: Client
To: Server

smart_ptr< netlib::MessageBufferaesop::createTerminateConversationMessage (int playerId, const char *conversationGuid)
 Message: Terminate Conversation
From: Server
To: Client

smart_ptr< netlib::MessageBufferaesop::createNewGameMessage (int playerId)
 Message: New Game
From: Client
To: Server