December 2013
Beginner
242 pages
4h 23m
English
Let's create a new server application. Upon receiving any message, it will simply get an echo, a confirmation that it has received the message (an acknowledgement).
Create a new class library project called PhotonAckServer. I have put mine in the src-server directory.
Now, we'll add three references to our project. These can be found in the libs directory of the Photon Server:
ExitGamesLibs.dllPhoton.SocketServer.dllPhotonHostRuntimeInterfaces.dllWith these added, create a new PhotonAckServer class. This will inherit from ApplicationBase, code for the same is as follows:
using Photon.SocketServer; public class PhotonAckServer : ApplicationBase { protected override PeerBase CreatePeer( InitRequest ...Read now
Unlock full access