Socket programming - Our Multiplayer Hero?

Programming Reality Factory and Genesis3D.
Post Reply
User avatar
vrageprogrammer
Posts: 566
Joined: Wed Oct 31, 2007 2:59 pm
Location: On top of a tree
Contact:

Socket programming - Our Multiplayer Hero?

Post by vrageprogrammer » Thu Feb 28, 2008 12:06 pm

Firstly, I wanna know IF Socket Programming is Do-able in C++.

If it is, then we have our Multiplayer solution!
It was not Possible to determine the dimensions of the image....

User avatar
darksmaster923
Posts: 1857
Joined: Wed Jan 03, 2007 10:32 pm
Location: Huntington Beach, California, USA
Contact:

Re: Socket programming - Our Multiplayer Hero?

Post by darksmaster923 » Thu Feb 28, 2008 11:45 pm

Herp derp.

User avatar
jonas
Posts: 779
Joined: Tue Jul 05, 2005 5:43 pm
Location: Texas, USA
Contact:

Re: Socket programming - Our Multiplayer Hero?

Post by jonas » Fri Feb 29, 2008 1:10 am

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
Jonas

Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something, do it both ways and see which works better. - John Carmack

User avatar
scott
Posts: 1151
Joined: Tue Jul 05, 2005 1:59 am
Location: United Kingdom

Re: Socket programming - Our Multiplayer Hero?

Post by scott » Fri Feb 29, 2008 9:58 pm

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.
*GD*

User avatar
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Re: Socket programming - Our Multiplayer Hero?

Post by paradoxnj » Sun Mar 02, 2008 5:20 pm

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.
Many Bothans died to bring you this signature....

User avatar
vrageprogrammer
Posts: 566
Joined: Wed Oct 31, 2007 2:59 pm
Location: On top of a tree
Contact:

Re: Socket programming - Our Multiplayer Hero?

Post by vrageprogrammer » Wed Mar 05, 2008 11:32 am

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..
It was not Possible to determine the dimensions of the image....

User avatar
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Re: Socket programming - Our Multiplayer Hero?

Post by paradoxnj » Wed Mar 05, 2008 5:25 pm

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.
Many Bothans died to bring you this signature....

User avatar
vrageprogrammer
Posts: 566
Joined: Wed Oct 31, 2007 2:59 pm
Location: On top of a tree
Contact:

Re: Socket programming - Our Multiplayer Hero?

Post by vrageprogrammer » Thu Mar 06, 2008 2:35 pm

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..
It was not Possible to determine the dimensions of the image....

Post Reply