|
TCP Client Server |
Xpicolo
Member #16,781
December 2017
|
Hi, Thanks |
Chris Katko
Member #1,881
January 2002
|
There is no official one. The reason is, most people with roll their own (because it's so intruisive/coupled to your specific game structures), or, use one of the many thoroughly vetted third-party libraries already out there: https://www.codeofhonor.com/blog/choosing-a-game-network-lib https://gamedev.stackexchange.com/questions/394/network-layer-libraries Here's a very popular one: -----sig: |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Gah. Does no one pay attention anymore? Allegro 5 comes with an ENet example, and my binaries come with enet dynamic and static libraries. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Specter Phoenix
Member #1,425
July 2001
|
Edgar Reynaldo said: Gah. Does no one pay attention anymore? I'm not sure they ever did.
|
l j
Member #10,584
January 2009
|
Specter Phoenix said: I'm not sure they ever did. The internet isn't helping, only makes it harder to pay attention to anything.
|
Chris Katko
Member #1,881
January 2002
|
I disagre---hang on, gotta check my twitter. What were we talking about? -----sig: |
Elias
Member #358
May 2000
|
Do you have screenshots of the network example? -- |
Edgar Reynaldo
Major Reynaldo
May 2007
|
What's this? NSND? Lulz, all it does is draw a circle and let you move around. There is a binary of ex_enet_client and server.exe in my distro. Try it yourself. It's not much fun playing on your own local network. Here's a better screenie : {"name":"611154","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/5\/7\/5730524b3644dd3e23d46b0b01e0ee52.png","w":642,"h":513,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/5\/7\/5730524b3644dd3e23d46b0b01e0ee52"} My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Xpicolo
Member #16,781
December 2017
|
Gah. Does no one pay attention anymore? Thanks anyway for advices. |
beoran
Member #12,636
March 2011
|
For TCP, dyad is really easy to use: https://github.com/rxi/dyad/blob/master/README.md Just call dyad_update from time to time in your game loop. |
Edgar Reynaldo
Major Reynaldo
May 2007
|
My bad, I assumed enet did TCP and UDP. Sorry. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
|