Hello Paul,

Monday, July 18, 2005, 5:28:38 PM, you wrote:

PD> On 18 Jul 2005, at 13:47, Robert Milkowski wrote:
>>
>>   How can I check if there're any outstanding data on a network socket
>>   to send?
>>
>>   On Linux I can use ioctl/TIOCOUTQ and on Solaris?
>>
>>   ps. we have to implement some workaround so all data are sent before
>>       we call close(). We do port Linux application and want to
>>       implement the same workaround.

PD> Can you not use SO_LINGER?

I can't 'coz it's blocking and our application uses asynchronous IOs.


-- 
Best regards,
 Robert                            mailto:[EMAIL PROTECTED]

_______________________________________________
opensolaris-code mailing list
[email protected]
https://opensolaris.org:444/mailman/listinfo/opensolaris-code

Reply via email to