knight0fdragon Posted February 9, 2006 Author Share Posted February 9, 2006 About the server. Port a server application to DSLinux. It should work then. <{POST_SNAPBACK}> no thats ok, I would like a server and client in 1 package, thus 1 ROM, so that I could take my games online and play friends from round da world Link to comment Share on other sites More sharing options...
Sintax Posted February 9, 2006 Share Posted February 9, 2006 Oh whoops, blocking. I'm pretty sure it's blocking my default, although theres is a define although the lines of SGIP_BLOCKING_DEFAULT. If you were to set 'i' to 0 it would block, but maybe it just doesn't work in SG's lib. It's easy enough to do artificially like you already are. Link to comment Share on other sites More sharing options...
bafio Posted February 9, 2006 Share Posted February 9, 2006 Oh whoops, blocking. I'm pretty sure it's blocking my default, although theres is a define although the lines of SGIP_BLOCKING_DEFAULT. If you were to set 'i' to 0 it would block, but maybe it just doesn't work in SG's lib. It's easy enough to do artificially like you already are.<{POST_SNAPBACK}> I remember sgstair saying something about blocking methods coming in the next version, anyway this method (while loop) works quite well now... As for the DS as a server, I see it as quite a hard task, you would need port forwarding (quite probably) and all of that... Bafio Link to comment Share on other sites More sharing options...
sgstair Posted February 10, 2006 Share Posted February 10, 2006 Correct, this version doesn't support blocking mode (all sockets are non-blocking) - next version will start sockets in blocking mode and allow you to turn it off (with ioctl) -Stephen Link to comment Share on other sites More sharing options...
knight0fdragon Posted February 10, 2006 Author Share Posted February 10, 2006 Correct, this version doesn't support blocking mode (all sockets are non-blocking) - next version will start sockets in blocking mode and allow you to turn it off (with ioctl) -Stephen<{POST_SNAPBACK}> ok thanks for all the info, since i made a networking class for his stuff, I will just wait till the next version of the lib, and update the classes, i can still use what i got, - the server portion as of now 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