Easiest 1 on 1 networking possible?
I've got myself a 3D engine already made and all I want to do right now is make it so that I can have 2 clients on 2 separate machines over a LAN communicate with eachother enough that they can simply update positional/rotational/object data to eachother. I don't care about security, I don't care about lag (it's a 100MBIT LAN), I don't care about more than 2 people playing, I just need something really simple and really implementable into an already made engine. I don't mind reworking some of my code to fit the networking stuff and most of the actual gameplay mechanics aren't coded yet. Does anybody have any suggestions for me? I tried Raknet but even that was too complicated for me (I'm only a mediocre coder). Let me know what you guys think may work best for my needs.
DeRp!
If you're coding for a Windows platform you could consider using DirectPlay. There is plenty of documentation available to get you started with that. Or you could write a Peer-2-Peer API yourself, if you're adventurous.
Other libraries that are easy to drop in for this use allegedly include RakNet, and ReplicaNet. Check the Forum FAQ for more resources.
enum Bool { True, False, FileNotFound };
Well he said he already tried RakNet and that was too complicated.
To be honest, something like RakNet is about as simple as it gets for network programming. DirectPlay might be an option and the only reason I say to give that a try is if you're using DirectX the similarity in the API structure might make things a bit easier.
-=[ Megahertz ]=-
To be honest, something like RakNet is about as simple as it gets for network programming. DirectPlay might be an option and the only reason I say to give that a try is if you're using DirectX the similarity in the API structure might make things a bit easier.
-=[ Megahertz ]=-
-=[Megahertz]=-
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement