bjoerngiesler Posted August 8, 2006 Share Posted August 8, 2006 Hi, I'm writing an FTP server for the DS. While everything basically works, I've noticed a few strange things in the process. One, the data connection is blocking both for sending and receiving data; still, I get EAGAINs, which shouldn't happen for blocking sockets according to the manpage. Two, I'm getting MANY more EAGAINs on the DS when sending than when receiving (read: at the order of about 50,000 EAGAINs for one proper send). This reduces the sending speed greatly. I'm seeing about 30kbps for receiving and about Three, Handling the data connection (i.e. sending and receiving) is done very simple in a tight loop, and the buffer size for sending and receiving is 1024 bytes. Any help Link to comment Share on other sites More sharing options...
sgstair Posted August 11, 2006 Share Posted August 11, 2006 (To clarify - this thread isn't very useful, the initial post was incomplete/garbled for whatever reason, and we've since talked via email to figure out the problems.)-Stephen Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now