Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

A little about networking


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 teckpow   Members   -  Reputation: 185

Like
0Likes
Like

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, teckpowPosted Image

Sponsor:

#2 hannesnisula   Members   -  Reputation: 693

Like
5Likes
Like

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.

#3 teckpow   Members   -  Reputation: 185

Like
0Likes
Like

Posted 13 November 2012 - 03:12 PM

I'm actually planning to write the code, I am using Visual C++ for the scripting, I am targeting Windows platforms

Edited by teckpow, 13 November 2012 - 04:30 PM.


#4 Khatharr   Members   -  Reputation: 1570

Like
0Likes
Like

Posted 13 November 2012 - 04:40 PM

I have something for you, my friend. Posted Image

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.

#5 Karsten_   Members   -  Reputation: 380

Like
0Likes
Like

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.

#6 teckpow   Members   -  Reputation: 185

Like
0Likes
Like

Posted 14 November 2012 - 03:14 PM

This actually helped :) Thank you a lot :)




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS