Re: Solaris 8 network programming problem
- From: "sansp00" <Patrick.Sansoucy@xxxxxxxxx>
- Date: 14 Nov 2006 10:27:45 -0800
On Nov 14, 1:10 pm, "Maxim Yegorushkin" <maxim.yegorush...@xxxxxxxxx>
wrote:
sansp00 wrote:
On Nov 14, 5:21 am, Casper H.S. Dik <Casper....@xxxxxxx> wrote:
James Antill <james-netn...@xxxxxxx> writes:
read/recv returning 0 on a socket means the other end has shutdown(), and
so there is no more data.Or a 0 length message was received (non-SOCK_STREAM transports only)
I am on SOCK_STREAM transports, so Im still a bit in the dark as to whyyou 0?
Im getting data after a while on sockets that issued recv with 0 bytes.That's rather unlikely. Is it recv() or ioctl(FIONREAD) what returns
It's the recv in that specific case ... We rewrote some code to fix the
'broken' model we had.
We did try out the a hybrid of the code with the recv and ioctl to see
if they behaved in the same way ...
Both behaved in the same matter when the situation occured. So I am
back to square one :(
Thanks
Patrick S.
.
- Follow-Ups:
- Re: Solaris 8 network programming problem
- From: Maxim Yegorushkin
- Re: Solaris 8 network programming problem
- References:
- Solaris 8 network programming problem
- From: sansp00
- Re: Solaris 8 network programming problem
- From: Maxim Yegorushkin
- Re: Solaris 8 network programming problem
- From: sansp00
- Re: Solaris 8 network programming problem
- From: James Antill
- Re: Solaris 8 network programming problem
- From: sansp00
- Re: Solaris 8 network programming problem
- From: James Antill
- Re: Solaris 8 network programming problem
- From: Casper H . S . Dik
- Re: Solaris 8 network programming problem
- From: sansp00
- Re: Solaris 8 network programming problem
- From: Maxim Yegorushkin
- Solaris 8 network programming problem
- Prev by Date: Re: to select() or poll() ??
- Next by Date: QLineEdit-Problem
- Previous by thread: Re: Solaris 8 network programming problem
- Next by thread: Re: Solaris 8 network programming problem
- Index(es):
Relevant Pages
|