Search found 354 matches

by elhobbs
Sat Jul 04, 2009 5:27 pm
Forum: DS/DSi Development
Topic: receive hangs; was TCP send() performance and eventual hangs
Replies: 41
Views: 87446

Re: TCP send() performance and eventual hangs

it is to support hardware exceptions - accessing invalid memory addresses, stack overflow, etc.

can you post your source code and binary somewhere? I would be interested in taking a look.
by elhobbs
Sat Jul 04, 2009 2:32 am
Forum: DS/DSi Development
Topic: receive hangs; was TCP send() performance and eventual hangs
Replies: 41
Views: 87446

Re: TCP send() performance and eventual hangs

do you have an exception handler in place? this will install the default one: defaultExceptionHandler(); it uses iprintf to display. make sure that you are using the latest version of libnds and dswifi. when libnds switched ipc to use fifo it introduced a lot of instability to the dswifi module. it ...
by elhobbs
Fri Jul 03, 2009 3:29 am
Forum: DS/DSi Development
Topic: receive hangs; was TCP send() performance and eventual hangs
Replies: 41
Views: 87446

Re: TCP send() performance and eventual hangs

if you are able to utilize the full 2 mbit bandwidth than this is only ~4 packets a frame. so, probably 2-3 packets per frame is going to be the best you can hope for - most likely less if there is a lot of other network traffic.
by elhobbs
Thu Jul 02, 2009 1:42 pm
Forum: DS/DSi Development
Topic: receive hangs; was TCP send() performance and eventual hangs
Replies: 41
Views: 87446

Re: TCP send() performance and eventual hangs

I suspect when send returns less than 1420 that the internal send buffers are full and that you are exceeding the transmission rate on the ds. it is only 2Mbit/s - though I think people typically see 1Mbit/s at best. you could try waiting a frame or two if the send is smaller than 1420. I think I re...