7.Starting a server

Prior to starting up a server, you need to obtain Proud.CNetServer object by calling Proud.CNetServer.Create(). Once a server object is obtained, it can be removed by delete function.

Even though a server is created, neither it performs communication with client nor creates a thread pool automatically. To make them enabled, you must start the server by calling Proud.CNetServer.Start().

Remark: There is an important guideline you first need to read in order to start a server properly. Please refer to 6.4 Method of using Server UDP Port for more details.