Cross-Platform Client/Server
by Grant McNeil · in Technical Issues · 09/22/2004 (5:44 pm) · 4 replies
Hey,
My friends and I are re-inventing the wheel, we're writing our own simple engine in C++ using SDL [w/ OpenGL].
We want it to have simple client/server network code; but were coding in linux, and we want everything to be cross-platform. So winsock isn't really an option.
Can anyone point me in the right direction for a resource for beginning cross-platform tcp/ip network programming? A set of tutorials online, a book, anything?
Thanks,
--Grant
My friends and I are re-inventing the wheel, we're writing our own simple engine in C++ using SDL [w/ OpenGL].
We want it to have simple client/server network code; but were coding in linux, and we want everything to be cross-platform. So winsock isn't really an option.
Can anyone point me in the right direction for a resource for beginning cross-platform tcp/ip network programming? A set of tutorials online, a book, anything?
Thanks,
--Grant
About the author
#2
09/23/2004 (12:08 am)
Hey Grant, have you looked at TNL? It's award-winning, cross-platform, kick-butt Client/Server networking technology at your fingertips (free under the GPL, or for very little cost for an Indie license). The site has some great docs too. Maybe not quite totally beginner friendly, but they're quite good.
#4
I've been looking at the TNL, looks like its exactly what I need.
Thanks,
--Grant
09/25/2004 (7:30 am)
Thanks,I've been looking at the TNL, looks like its exactly what I need.
Thanks,
--Grant
Torque Owner Grant McNeil
http://www.ecst.csuchico.edu/~beej/guide/net/html/
It's split up into two sections, Unix/Solaris and Windows, and in the windows section it uses winsock, in the Unix/Solaris section it uses different libraries; But the code is the same.
Do I just have to include different libraries for my project?
and if thats the case, will the Linux/Unix boxes and Windows boxes be able to communicate?
--Grant