Firstly, I wanna know IF Socket Programming is Do-able in C++.
If it is, then we have our Multiplayer solution!
Socket programming - Our Multiplayer Hero?
- vrageprogrammer
- Posts: 566
- Joined: Wed Oct 31, 2007 2:59 pm
- Location: On top of a tree
- Contact:
Socket programming - Our Multiplayer Hero?
It was not Possible to determine the dimensions of the image....
- darksmaster923
- Posts: 1857
- Joined: Wed Jan 03, 2007 10:32 pm
- Location: Huntington Beach, California, USA
Re: Socket programming - Our Multiplayer Hero?
tried searching it?
http://www.blingo.com/search?q=socket+p ... in+c%2B%2B
http://www.blingo.com/search?q=socket+p ... in+c%2B%2B
Herp derp.
Re: Socket programming - Our Multiplayer Hero?
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
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
Re: Socket programming - Our Multiplayer Hero?
though it would be cool if the new update also had MP in secretly developed, i think that would make everyone happy
it would be cool if it was done at all, amke a quick map, post it, start playing against each other in seconds.
it would be cool if it was done at all, amke a quick map, post it, start playing against each other in seconds.
*GD*
Re: Socket programming - Our Multiplayer Hero?
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....
- vrageprogrammer
- Posts: 566
- Joined: Wed Oct 31, 2007 2:59 pm
- Location: On top of a tree
- Contact:
Re: Socket programming - Our Multiplayer Hero?
I have been reading up on some Socket programming.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 dont know where to get rf's Source from though..
It was not Possible to determine the dimensions of the image....
Re: Socket programming - Our Multiplayer Hero?
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....
- vrageprogrammer
- Posts: 566
- Joined: Wed Oct 31, 2007 2:59 pm
- Location: On top of a tree
- Contact:
Re: Socket programming - Our Multiplayer Hero?
alright..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.
It was not Possible to determine the dimensions of the image....