Jump to content

Recommended Posts

Posted

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.

Posted
  Sintax said:
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.

 

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

Posted

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

Posted
  sgstair said:
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

 

 

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...