socket shutdown and friends

2004-07-12 Thread Gilad Ben-Yossef
Howdie, Someone (i think it was Shachar) asked about shutdown and loosing messages - well, I jsut came across the SO_LINGER socket options (man 7 socket) and though it can help: " SO_LINGER Sets or gets the SO_LINGER option. The argument is a linger struc

Re: socket shutdown and friends

2004-07-12 Thread Shachar Shemesh
Gilad Ben-Yossef wrote: Howdie, Someone (i think it was Shachar) asked about shutdown and loosing messages - well, I jsut came across the SO_LINGER socket options (man 7 socket) and though it can help: " SO_LINGER Sets or gets the SO_LINGER option. The argument is a linge

Re: socket shutdown and friends

2004-07-12 Thread Omer Zak
Shachar Shemesh wrote: Gilad Ben-Yossef wrote: [... stuff about SO_LINGER was snipped ...] That does not solve my problem, as the whole purpose of the program was to do things asynchronously. Making shutdown block is not an option. Is there any reason why you cannot start another thread, and clos

Re: socket shutdown and friends

2004-07-12 Thread Voguemaster
On Mon, 12 Jul 2004 16:24:10 +0300, Shachar Shemesh <[EMAIL PROTECTED]> wrote: Gilad Ben-Yossef wrote: Howdie, Someone (i think it was Shachar) asked about shutdown and loosing messages - well, I jsut came across the SO_LINGER socket options (man 7 socket) and though it can help: " SO_LI

Re: socket shutdown and friends

2004-07-13 Thread Shachar Shemesh
Voguemaster wrote: Hi all, Shachar, I've missed the thread where you describe what your problem is and I can't seem to find it in the Linux-IL archive. I'm actually quite curious about the problem (as always about network programming). If it would bother others perhaps you could send me the prob

Re: socket shutdown and friends

2004-07-13 Thread Shachar Shemesh
Omer Zak wrote: Shachar Shemesh wrote: Gilad Ben-Yossef wrote: [... stuff about SO_LINGER was snipped ...] That does not solve my problem, as the whole purpose of the program was to do things asynchronously. Making shutdown block is not an option. Is there any reason why you cannot start anothe