-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle large packets #5
Comments
I feel that this is something that should be abstracted in a way that we can possibly run posix-like socket code soon. That, however, is an issue in NXDK, not in NXDK-RDT. |
LwIP supports a BSD sockets interface, we should probably use it. That would also enable us to build a test app on Linux side to make sure the communication protocol code is correct (and not actually a problem with PktDrv/LwIP/Hardware). |
This is also true for the receiving side. |
Yeah, it's broken in multiple ways. First, we don't even consider packets that are split up (we just take the first chunk), that's the point of this issue. Second, I suspect there's a flaw (probably more) in the LwIP-Xbox interface code. I tried to get it to handle multiple packet chunks but it just kept giving me errors. Just sucks at the moment. Please make it better :). |
We currently throw it all at
netconn_write
which is not able to handle much at a time. We should ideally chunk it out. We also don't check the return value for errors.The text was updated successfully, but these errors were encountered: