Thursday, 20 November 2008
 
  Home arrow Forum  
Main Menu
Home
News
Forum
Documentation
Download
Links
Administrator
Login Form
Welcome, Guest. Please login or register.
November 20, 2008, 08:06:38 AM
Username: Password:
Login with username, password and session length

Forgot your password?
DS to DS communications
DSLua Community
Welcome, Guest. Please login or register.
November 20, 2008, 08:06:38 AM
1723 Posts in 315 Topics by 5667 Members
Latest Member: VamdauroVam
DSLua Community  |  General DS Programming Chats  |  Code Hashing  |  DS to DS communications « previous next »
Pages: [1]
Author Topic: DS to DS communications  (Read 1598 times)
aqouli
New Moon
*
Posts: 3


« on: July 25, 2007, 11:32:51 PM »

Greetings all!

I am aware the DSLua 0.7 has wi-fi and socket functions, but I'm still a bit clueless as to how to communicate with another DS, if this is even possible. Right now my priority is ad-hoc communications (two DSes talking to each other within the same room), but I eventually would like to figure out how to connect to another one through the internet... which confounds me at the moment.

So say for example, I'd like to send a text message from one DS to another - how would I go about this?
Logged
TOAST
Waxing Crescent
**
Posts: 87



« Reply #1 on: July 26, 2007, 09:23:34 AM »

You can't do the AD-hoc (yet, if even ever). And you ain't going to make it unless you're hardcore.
Logged
aqouli
New Moon
*
Posts: 3


« Reply #2 on: July 26, 2007, 01:06:34 PM »

I guess one can dream?

Well, with ad-hoc written off - is it still possible to do it with wi-fi?
Logged
TOAST
Waxing Crescent
**
Posts: 87



« Reply #3 on: August 02, 2007, 11:27:23 PM »

Yes, with wifi you can communicate DS to DS, but you'll need them both connected to the internets.
Logged
aqouli
New Moon
*
Posts: 3


« Reply #4 on: August 05, 2007, 10:50:28 AM »

*nods*

So as I understand it, you connect to the WFC using the Wifi.ConnectWFC() function, and then establish a socket connection with the DS you want to connect to? I just wonder if the IP of the DS I would like to connect to changes each time, or does it stay permanent. Also, what port should I use?

And as for the size of the buffer, how big can it be before I start having trouble sending it?
Logged
Pages: [1]
« previous next »
    Jump to:  



    (C) 2008 DSLua

    DSLua - Best scripting language for Nintendo DS home-brew!