Re[2]: [osol-code] Outstanding data on socket

2005-07-19 Thread Robert Milkowski
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 som

Re: [osol-code] Outstanding data on socket

2005-07-18 Thread Paul Durrant
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

[osol-code] Outstanding data on socket

2005-07-18 Thread Robert Milkowski
Hello , 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