Regards, teckpow
A little about networking
Started by teckpow, Nov 13 2012 02:46 PM
5 replies to this topic
#1 Members - Reputation: 182
Posted 13 November 2012 - 02:46 PM
I am willing to learn about the network connections for online games, like ORPG or MORPG (just network connections between the game client and a server computer). I have heard that some use C#, but I actually dislike C#. If there are other ways to do this, can you please tell me where to study about them?
Regards, teckpow
Regards, teckpow
Ad:
#2 Members - Reputation: 690
Posted 13 November 2012 - 02:51 PM
Are you planning on writing code or just learning about networking in games (specifically (MM)ORPGs)? If you're planning on writing something, what platform and language are you using, and what platforms are you targeting?
he game specific aspects of networking isn't bound to any programming languages. There are many different networking libraries out there, but the only one coming to my mind now is RakNet. If you want to do it more low-level (perhaps for learning) you might want to check out WinSock if you're on Windows.
he game specific aspects of networking isn't bound to any programming languages. There are many different networking libraries out there, but the only one coming to my mind now is RakNet. If you want to do it more low-level (perhaps for learning) you might want to check out WinSock if you're on Windows.
#4 Members - Reputation: 1547
Posted 13 November 2012 - 04:40 PM
I have something for you, my friend. 
http://www.gamedev.net/topic/631797-simple-socks-c-wrapper-for-winsock-22/
http://www.gamedev.net/topic/631797-simple-socks-c-wrapper-for-winsock-22/
void hurrrrrrrr() {__asm sub [ebp+4],5;}
There are ten kinds of people in this world: those who understand binary and those who don't.
There are ten kinds of people in this world: those who understand binary and those who don't.
#5 Members - Reputation: 378
Posted 14 November 2012 - 09:59 AM
For Windows using C/C++, the following on the MSDN are pretty ideal.
(Client) http://msdn.microsoft.com/en-gb/library/windows/desktop/ms737591%28v=vs.85%29.aspx
(Server) http://msdn.microsoft.com/en-gb/library/windows/desktop/ms737593%28v=vs.85%29.aspx
They are as simple as it gets for TCP connections.
(Client) http://msdn.microsoft.com/en-gb/library/windows/desktop/ms737591%28v=vs.85%29.aspx
(Server) http://msdn.microsoft.com/en-gb/library/windows/desktop/ms737593%28v=vs.85%29.aspx
They are as simple as it gets for TCP connections.






