Bafio has updated his homebrew WiFi chat app for the DS.
Heres whats new:
NEW - UPDATED to the new wifi lib, WEP and DHCP are now in!
The source code of both the server and client is now available here. The code is actually quite ugly, it has been a testbed for me to learn and some things are not done properly.
Among the others there are 2 things that would need fixing right now:
1) Make the receiving of messages independent from the draw loop, I was thinking using a timer, so that messages can be received also when into the menues
2) Fix concurent send and receive of messages, one possibility would be using two different ports. Also, a better method for ACK would be nice. Relative changes would be needed in the server as well.
TCP could me much easyer to use for this, but this would require a complete redesign of the protocol.
I really appriciate contributions to the project (if well tested first).