Hello everyone,

I have to port some non-blocking socket output code from Linux to
FreeBSD and I'm wondering how far I need to go to overcome a problem. 
On Linux this code puts the amount of data waiting in the socket's
transmit queue into 'remaining'.

   int remaining = 0;
   int rc = ioctl(fileDescriptor, TIOCOUTQ, &remaining);

Testing rc on FreeBSD and printing errno, I see...

   ioctl: 45 Operation not supported

Is there another way to ask the question on FreeBSD?  Or should I be
changing the non-blocking socket output design?

Thanks,
Steve
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to