and end connection for both main sockets you have (game server / auth server) each on it's own port Database Connection : What's left about sockets is having a wrapper class which is used to keep both the socket(connection) and a gameserver/authserver object together so you can figure out whom the data was sent forĪt the end you would want to invoke custom methods at accept connection, recv. There is already a topics out there on the same subjects which had been released by great members that you must first read before proceeding Sockets Connection : the following links will ease your life and will save your time searching, if you are familiar with C# sockets you can simply quit this part as all of the C# socket classes looks the same to me (with slightly difference) but i would still recommend you visiting those links video links: almost an hr explaining everything in detailsĬode: int size = SOC.EndReceive(IR, out error) that is briefly a simple example of async socket, but the links i provide you is way more correct and briefly explaining everything
0 Comments
Leave a Reply. |