Server and Client
Start a server
1. Creating a server
m_netServer = Proud::CNetServer::Create();
// Healed objects can be removed with the delete operator.
delete m_netServer;Nettention.Proud.NetServer netServer = new Nettention.Proud.NetServer();2. Preparation
// Include the ProudNet.
#include “include\ProudNetServer.h”
// ProudNet is a namespace where all objects are grouped
// under the name Proud.
using namespace Proud;
// port definition
int g_ServerPort = 33334;// Add to enable Proud
using Nettention.Proud;
// Define a port to use in advance
int serverPort = 33334;3. Starting a server
4. Disconnection
Functions
Description
5. Start receiving client connections
Start a client
1. Creating a client
2. Preparation
3. Starting a client
Events that occur while a client is connecting to the server
4. Disconnection
Usage
Utilization of ServerUtilization of ClientLast updated