Ask a Question related to UNIX Programming, Design and Development.
-
Barry Margolin #1
Re: recv and MSG_WAITALL
In article <82bf05fc.0307301943.14d7c7e@posting.google.com> ,
Michael <msh@mindless.com> wrote:If you want it to block, don't use a non-blocking socket.>I am trying to read a non-blocking socket using recv and MSG_WAITALL.
>It does not seem to work under Solaris 8.
>
>Can anyone confirm this is the case, or is there some trick?
--
Barry Margolin, [email]barry.margolin@level3.com[/email]
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
Barry Margolin Guest
-
High Recv-Q Netstat
Hi, Could you tell me why when i trace using "netstat", I got queue Recv-Q very High? For information i was streaming to 500+ users concurrently... -
Pb with IO::Socket::INET and recv
Hi all, Since I migrate a client program to Mandrake 9.1 (kernel 2.4.21-0.13) and perl 5.8.0, this little program didn't work. The problem occured... -
no recv
"Paras Sharma" <parsharm@cisco.com> wrote in message news:3F0BE08E.2090601@cisco.com... You can try calling 'shutdown' to shutdown just the... -
Receive binary file through recv
On 24 Jun 2003 15:19:11 -0700 michelle <theintangible1@hotmail.com> wrote: | Hi, I am trying to send a binary file from the client to the server.... -
David Schwartz #2
Re: recv and MSG_WAITALL
"Barry Margolin" <barry.margolin@level3.com> wrote in message
news:D6aWa.1$hu1.0@news.level3.com...
> In article <82bf05fc.0307301943.14d7c7e@posting.google.com> ,
> Michael <msh@mindless.com> wrote:Not to mention, if you're waiting for the other side to send more while>> >I am trying to read a non-blocking socket using recv and MSG_WAITALL.
> >It does not seem to work under Solaris 8.
> >
> >Can anyone confirm this is the case, or is there some trick?
> If you want it to block, don't use a non-blocking socket.
the other side is waiting for you to receive to make buffer space available,
you'll deadlock.
DS
David Schwartz Guest



Reply With Quote

