Please refer to ProudNet : Server and Network for description of this module. More...
Typedefs | |
typedef uint16_t | Proud::RmiID |
typedef RefCount< ErrorInfo > | Proud::ErrorInfoPtr |
typedef RefCount< CP2PGroup > | Proud::CP2PGroupPtr |
Variables | |
const int | Proud::InvalidSocket = 0 |
StringA | Proud::policyFileText |
const PNTCHAR * | Proud::ProxyBadSignatureErrorText |
const PNTCHAR * | Proud::DecryptFailedError |
Please refer to ProudNet : Server and Network for description of this module.
typedef RefCount<ErrorInfo> Proud::ErrorInfoPtr |
Smart pointer of the object that contains error info
enum Proud::CompressMode |
Conditions to start hole-punching for direct P2P communication among clients
Enumerator | |
---|---|
DirectP2PStartCondition_Jit |
Unless really needed, it is recommended not to do hole-punching. Using this is strongly recommended. |
DirectP2PStartCondition_Always |
This forcefully begins hole-punching at the moment when P2P communication among clients is allowed by CNetServer.CreateP2PGroup or CNetServer.JoinP2PGroup or others. For an example, if there is a need to change super peer at P2P Networking for Super Peer (Super Peer or host) during game play, this may be needed. |
enum Proud::EncryptMode |
Setup value of encryption and decryption
enum Proud::ErrorType |
TODO:translate needed.
Enumerator | |
---|---|
ErrorType_Ok |
TODO:translate needed. |
ErrorType_Unexpected |
TODO:translate needed. |
ErrorType_AlreadyConnected |
TODO:translate needed. |
ErrorType_TCPConnectFailure |
TODO:translate needed. |
ErrorType_InvalidSessionKey |
TODO:translate needed. |
ErrorType_EncryptFail |
TODO:translate needed. |
ErrorType_DecryptFail |
TODO:translate needed. |
ErrorType_ConnectServerTimeout |
TODO:translate needed. |
ErrorType_ProtocolVersionMismatch |
TODO:translate needed. |
ErrorType_NotifyServerDeniedConnection |
TODO:translate needed. |
ErrorType_ConnectServerSuccessful |
TODO:translate needed. |
ErrorType_DisconnectFromRemote |
TODO:translate needed. |
ErrorType_DisconnectFromLocal |
TODO:translate needed. |
ErrorType_DangerousArgumentWarning |
TODO:translate needed. |
ErrorType_UnknownAddrPort |
TODO:translate needed. |
ErrorType_ServerNotReady |
TODO:translate needed. |
ErrorType_ServerPortListenFailure |
TODO:translate needed. |
ErrorType_AlreadyExists |
TODO:translate needed. |
ErrorType_PermissionDenied |
Access denied.
|
ErrorType_BadSessionGuid |
TODO:translate needed. |
ErrorType_InvalidCredential |
TODO:translate needed. |
ErrorType_InvalidHeroName |
TODO:translate needed. |
ErrorType_LoadDataPreceded |
TODO:translate needed. |
ErrorType_AdjustedGamerIDNotFilled |
TODO:translate needed. |
ErrorType_NoHero |
TODO:translate needed. |
ErrorType_UnitTestFailed |
Unit test failed |
ErrorType_P2PUdpFailed |
TODO:translate needed. |
ErrorType_ReliableUdpFailed |
TODO:translate needed. |
ErrorType_ServerUdpFailed |
TODO:translate needed. |
ErrorType_NoP2PGroupRelation |
TODO:translate needed. |
ErrorType_ExceptionFromUserFunction |
TODO:translate needed. |
ErrorType_UserRequested |
TODO:translate needed. |
ErrorType_InvalidPacketFormat |
TODO:translate needed. |
ErrorType_TooLargeMessageDetected |
TODO:translate needed. |
ErrorType_CannotEncryptUnreliableMessage |
TODO:translate needed. |
ErrorType_ValueNotExist |
TODO:translate needed. |
ErrorType_TimeOut |
TODO:translate needed. |
ErrorType_LoadedDataNotFound |
TODO:translate needed. |
ErrorType_SendQueueIsHeavy |
TODO:translate needed. Warning function for traffic overload |
ErrorType_TooSlowHeartbeatWarning |
TODO:translate needed. |
ErrorType_CompressFail |
TODO:translate needed. |
ErrorType_LocalSocketCreationFailed |
Unable to start listening of client socket. Must check if either TCP or UDP socket is already in use. |
Error_NoneAvailableInPortPool |
Failed binding to local port that defined in Port Pool. Please check number of values in Port Pool are sufficient. |
ErrorType_InvalidPortPool |
Range of user defined port is wrong. Set port to 0(random port binding) or check if it is overlaped. |
ErrorType_InvalidHostID |
Invalid HostID. |
ErrorType_MessageOverload |
The speed of stacking messages are higher than the speed of processing them. Check that you are sending too many messages, or your message processing routines are running too slowly. |
ErrorType_DatabaseAccessFailed |
Accessing database failed. For example, query statement execution failed. You may see the details from comment variable. |
ErrorType_OutOfMemory |
Out of memory. |
ErrorType_AutoConnectionRecoveryFailed |
서버와의 연결이 끊어져서 연결 복구 기능이 가동되었지만, 이것 마저도 실패했습니다. |
How to intentially use TCP fallback
Enumerator | |
---|---|
FallbackMethod_None |
No Fallback. In other words, UDP communication to both server and peer are in use. |
FallbackMethod_PeersUdpToTcp |
Regards that UDP with server is sustained but UDP with other peers to be disconnected. Reproduce a circumstance similar to a temporary port mapping failure. This is the lowest option with weakest impact. |
FallbackMethod_ServerUdpToTcp |
Regards that UDP with server is disconnected. Reproduce a circumstance similar to a temporary port mapping failure. On top of that, it also disconnects UDP with peers. Intermediate impact. |
FallbackMethod_CloseUdpSocket |
All UDP sockets of client will be shut down. UDP restoration will never be possible. Strongest impact.
|
enum Proud::HackType |
enum Proud::HostID |
enum Proud::LogCategory |
TODO:translate needed.
This is a policy allocating UDP sockets to be used by the serverwhen communicating with the clients. Please refer Method of using Server UDP Port for more details.
Enumerator | |
---|---|
ServerUdpAssignMode_None |
Not designated. Users are not to use this value. |
ServerUdpAssignMode_PerClient |
For each clients that coonects, it is to use different UDP port for each of them.
|
ServerUdpAssignMode_Static |
All the clients that connect reuse the UDP ports that are already prepared. When using this option, it is possible to cause some clients hard to communicate with the server due to UDP characteristics. - This is option is prepared for the lower compatibility of Proudnet and it is not recommended to use. - It is necessary to use a firewall setup to use this feature. Please refer <a target="_blank" href="http://guide.nettention.com/cpp_en#block_icmp" >Firewall setup for ICMP related for more details. This value affects Proud.CStartServerParameter.m_udpPorts also. |
Socket Error Code