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.

Can you not use SO_LINGER?

--
Paul Durrant

Attachment: PGP.sig
Description: This is a digitally signed message part

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

Reply via email to