Search found 15 matches
- Sat Jul 30, 2011 6:27 pm
- Forum: DS/DSi Development
- Topic: Connecting to server
- Replies: 12
- Views: 17325
Re: Connecting to server
I'm kind of curious what you meant by Quote: A simple button press is a whole lot of functions and variables. I looked it up again and found out that isn't that much, but still: scanKeys(); int key = keysDown(); if (key & KEY_A) { } Ok I admit, it's not that hard but still, it could have been done ...
- Wed Jul 13, 2011 9:11 pm
- Forum: DS/DSi Development
- Topic: Connecting to server
- Replies: 12
- Views: 17325
Re: Connecting to server
Ok read it entirely now and I do understand your point. Not really much I can do about it except for learning to use libnds. Nevertheless, I don't think I'm going to do it. I think I can create great games with PAlib ( http://www.blox-ds.co.cc ). Probably I will have to find out myself how to fix ...
- Wed Jul 13, 2011 8:39 pm
- Forum: DS/DSi Development
- Topic: Connecting to server
- Replies: 12
- Views: 17325
Re: Connecting to server
Wait, so if I had changed PA_WaitForVBL() to swiWaitForVBlank() I had been supported? That doesn't really make sense does it? What's the problem with PAlib exactly?
- Wed Jul 13, 2011 6:06 pm
- Forum: DS/DSi Development
- Topic: Connecting to server
- Replies: 12
- Views: 17325
Re: Connecting to server
Don't get me wrong. I know PAlib is bad. It has lots of not working, inefficient functions. I know it all. In the code I posted I didn't use PAlib functions except for PA_WaitForVBL() which can easily be changed. sounds like a firewall issue - was your client app run from a different system than the ...
- Wed Jul 13, 2011 4:34 pm
- Forum: DS/DSi Development
- Topic: Connecting to server
- Replies: 12
- Views: 17325
Re: Connecting to server
are you able to get any of the dswifi samples to work? there may be a problem with your ds connecting to your AP. I am able to connect to the internet, I can download files etc. It seems that it's impossible to use any other port than the default ones: 80, 23 etc. But I can't use those to connect ...
- Wed Jul 13, 2011 10:16 am
- Forum: DS/DSi Development
- Topic: Connecting to server
- Replies: 12
- Views: 17325
Connecting to server
Hi, I'm running a server on my pc. I forwarded a port. Then I made a client application for PC, which worked. Then I copied that code to my DS, changed it a little (Wifi_InitDefault, sys/socket etc). But when using connect() it always returns -1 with errno 113. "No route to host". Is this a common ...
- Sat Mar 26, 2011 9:05 am
- Forum: DS/DSi Development
- Topic: Wifi_DisconnectAP() doesn't seem to work
- Replies: 5
- Views: 9025
Re: Wifi_DisconnectAP() doesn't seem to work
Thanks for the help. You are right it did return 6 afterwards.
- Sat Mar 26, 2011 12:19 am
- Forum: DS/DSi Development
- Topic: Wifi_DisconnectAP() doesn't seem to work
- Replies: 5
- Views: 9025
Re: Wifi_DisconnectAP() doesn't seem to work
It's about disconnecting. I'm really sure it is connected, but if I return to the menu, I want to disconnect from the access point. So first the Wifi_AssocStatus() is equal to 5 (which is connected) and after I call Wifi_DisconnectAP(); it still is 5.
- Fri Mar 25, 2011 9:53 pm
- Forum: DS/DSi Development
- Topic: Wifi_DisconnectAP() doesn't seem to work
- Replies: 5
- Views: 9025
Wifi_DisconnectAP() doesn't seem to work
After I call Wifi_DisconnectAP(); Wifi_AssocStatus() doesn't become ASSOCSTATUS_DISCONNECTED or ASSOCSTATUS_SEARCHING. So it basically doesn't work... What can I do to make it work?
Thanks in advance!
Thanks in advance!
- Fri Mar 25, 2011 9:33 pm
- Forum: DS/DSi Development
- Topic: Restart NDS file
- Replies: 4
- Views: 6608
Re: Restart NDS file
Too bad... Thanks though!