Page 1 of 1

Socket programming - Our Multiplayer Hero?

Posted: Thu Feb 28, 2008 12:06 pm
by vrageprogrammer
Firstly, I wanna know IF Socket Programming is Do-able in C++.

If it is, then we have our Multiplayer solution!

Re: Socket programming - Our Multiplayer Hero?

Posted: Thu Feb 28, 2008 11:45 pm
by darksmaster923

Re: Socket programming - Our Multiplayer Hero?

Posted: Fri Feb 29, 2008 1:10 am
by jonas
That pretty much is what the existing multiplayer code uses. Just using the network library hawknl. Its not the choice of libraries that is the problem. Its just it hasn't been completed and the code is kinda confusing. We had an extremely long discussion about the multiplayer here

Re: Socket programming - Our Multiplayer Hero?

Posted: Fri Feb 29, 2008 9:58 pm
by scott
though it would be cool if the new update also had MP in secretly developed, i think that would make everyone happy :P

it would be cool if it was done at all, amke a quick map, post it, start playing against each other in seconds.

Re: Socket programming - Our Multiplayer Hero?

Posted: Sun Mar 02, 2008 5:20 pm
by paradoxnj
Socket programming is very doable. It is what all networking code is based on. Libraries such as RakNET and DirectPlay use sockets in their code.

Re: Socket programming - Our Multiplayer Hero?

Posted: Wed Mar 05, 2008 11:32 am
by vrageprogrammer
paradoxnj wrote:Socket programming is very doable. It is what all networking code is based on. Libraries such as RakNET and DirectPlay use sockets in their code.
I have been reading up on some Socket programming.
I dont know where to get rf's Source from though..

Re: Socket programming - Our Multiplayer Hero?

Posted: Wed Mar 05, 2008 5:25 pm
by paradoxnj
No offense, but socket programming is not easy. It's not just about learning the API. It's about packet assembly and disassembly, compression, threading, TCP vs UDP, etc... There is more to network coding than meets the eye. There is no way you're gonna implement something like this into RF while learning about the API. You should mess with a MUD first.

Re: Socket programming - Our Multiplayer Hero?

Posted: Thu Mar 06, 2008 2:35 pm
by vrageprogrammer
paradoxnj wrote:No offense, but socket programming is not easy. It's not just about learning the API. It's about packet assembly and disassembly, compression, threading, TCP vs UDP, etc... There is more to network coding than meets the eye. There is no way you're gonna implement something like this into RF while learning about the API. You should mess with a MUD first.
alright..