gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > PC <-> DS socket server communication

#134402 - sgeos - Thu Jul 12, 2007 11:42 pm

Has anyone written an open source demo that demonstrates PC <-> DS socket server communication? I want to write a PC side server in perl and have it communicate with DS clients using sockets.

-Brendan

#134403 - Lick - Thu Jul 12, 2007 11:46 pm

Do you plan to use persistent connections or just HTTP requests?
_________________
http://licklick.wordpress.com

#134407 - simonjhall - Thu Jul 12, 2007 11:53 pm

I'm sure there's a demo in the wifi lib which opens an http connection to some address, send/recvs some data and then closes... It uses the regular unix sockets-style interface.
_________________
Big thanks to everyone who donated for Quake2

#134424 - sgeos - Fri Jul 13, 2007 2:02 am

Persisent connections.

For example, take a client/server based hangman game. DS and PC hangman clients connect to a hangman server and participate in a game of hangman. The PC hangman server keeps track of the game state and sends updates to external clients. (Or a chat program- IRC DS, or something like that.)

-Brendan