Jump to content

DragonMinded

Members+
  • Posts

    5
  • Joined

  • Last visited

DragonMinded's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I have set up a simple way to request pages from my DS using TCP/IP. My connection is wep 64bit, and I am using autoconnect. When I connect to a remote server, it always comes back with a valid socket, where I then make my HTTP request. On occasion, the request comes back fine, and everything works great, but the vast majority of the time it hangs in the recieve loop, getting no data. I have set up a simple fake server on my PC, and the interesting thing is when it fails to recieve, it appears that the DS never made a connection with the server, even though there is a valid socket... Is there a way I can test to make sure the socket I have currently is valid, and is there a better way than the below method for connecting via IP (more reliable?) int wifiConnectIP(u32 ip, unsigned short port) { int sock = 0; struct sockaddr_in tcp_sain; sock = socket(AF_INET,SOCK_STREAM,0); tcp_sain.sin_addr.s_addr = ip; tcp_sain.sin_family = AF_INET; tcp_sain.sin_port = htons(port); connect(sock, (struct sockaddr *)&tcp_sain, sizeof(tcp_sain)); int i = 1; ioctl(sock, FIONBIO, &i); // set non-blocking return sock; } Also, as a side note, DNS on my DS seems very unreliable. The wifi lib test seems to do it fine, but in my code it locks up on the request 4 times out of 5, eventually going to black screens....
  2. You would probably have to change the internal IP and port. Since I'm protected by WEP here, I recompiled the source with the IP to send to as my outside line, forwarded port 8888, and stole a neighbor's wifi to test, and it seems to work fine. Make sure you aren't mismatching ports somewhere...
  3. It is physically not working, _boot_mp.gba or not, on either the DS or the gba. If I get the flashed DS working again, I can recover the GBAMP easily using a wifi'd flashmp.nds file, but for now, I have purchased a new DS.
  4. How am I to fix it then? I can't afford a flash cart? And why is GBAMP not supported in the first place???
  5. uh....help? I just got this game today for my birthday and played it. Now I go to play another game and my DS is bricked... I have gbamp and tried the SELECT+START+A+B method, and it just booted to GBA mode, with the backlight on the wrong screen, and nothing else. I tried reflashing with chism's drivers for the GBAMP and nothing happened. Seems it can't for some reason load the _BOOT_MP.nds file (renamed flashme)... Any suggestions aside form opening my DS. EDIT: Seems reflashing my GBAMP has bricked it too, doesn't even run on my GBA anymore...
×
×
  • Create New...