![]() |
|
Allegro 5 networking Library |
superstar4410
Member #926
January 2001
![]() |
What Library can I use to do network programming ( mainly internet) while I have not done any network programming before. Thanks -WNL Don't take yourself too seriously, but do take your responsibilities very seriously. |
jmasterx
Member #11,410
October 2009
|
Any networking library is compatible with Allegro 5. Allegro 5 does not cause network libraries to be incompatible. I use ENet. That should do. It is a nice C API that adds reliability to UDP. All you do is send messages about the state of your game so it has nothing to do with Allegro specifically. You use the messages you receive to tell Allegro what to draw. Agui GUI API -> https://github.com/jmasterx/Agui |
Stas B.
Member #9,615
March 2008
|
superstar4410 said:
What Library can I use to do network programming ( mainly internet) while Depends entirely on what you're trying to do. |
superstar4410
Member #926
January 2001
![]() |
In terms of what I want to do. I'm starting fresh to networking, so I'm looking to create a program for example that I could use to send data between two computers. The two users would run the applications at the same time and from there having that background info I could make my one chatting program, or file transfer program, or online multiplayer game. The game would be fun. What Library would be the best to use. I really want to get into network programming because, I can do regular local programming, I can do web design and programming php, sql , etc. I just dont want to be left behind in a sense because the internet seems so more and about where everything is headed. For me it was either learn 3d programming or network programming(more internet than local networking). I think going with network programming will be a better investment of my time and being about to keep up and create relavant apps for the times. My apps are mostly for personal use, not business, etc. Don't take yourself too seriously, but do take your responsibilities very seriously. |
Arthur Kalliokoski
Second in Command
February 2005
![]() |
This seems to be a pretty popular tutorial if you're just starting out, and has been mentioned in this forum countless times. http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html It's not a library, but it'll be instructive so you'll feel much more comfortable with a library later. They all watch too much MSNBC... they get ideas. |
superstar4410
Member #926
January 2001
![]() |
Thanks Arthur. Jmaster I think i'm going to check out enet. http://enet.bespin.org/Installation.html The Tutorial at that site seems helpful. -WNL Don't take yourself too seriously, but do take your responsibilities very seriously. |
Stas B.
Member #9,615
March 2008
|
superstar4410 said: The two users would run the applications at the same time and from there having that background info I could make my one chatting program, or file transfer program, or online multiplayer game. These are completely different and unrelated things that may require completely different and unrelated libraries. There's absolutely no point in picking any particular library if you have no idea what you want to do. For instance, ENet is unsuitable for file transfer or high-performance multiplayer games. If you want to get something specific done quick, describe the requirements and maybe someone will be able to help you pick the right tool for the job. If you don't have anything specific in mind and just want to learn the basics of network programming, you don't need any libraries. Do as Arthur suggested and learn to use basic sockets. |
superstar4410
Member #926
January 2001
![]() |
Thanks Don't take yourself too seriously, but do take your responsibilities very seriously. |
|