[Csci551-talk] A really wierd problem..!!
rajesh shroff
rshroff at usc.edu
Thu Mar 18 12:50:28 PST 2004
i was just thinking on the lines of LISTEN.
what is the value that you are giving for the backlog parameter for LISTEN.
That could be a potential cause of problem.
There is a difference in the default value for this parameter in Linux and
solaris.
Besides, to move further, is it possible for you to capture the return values/
errorno set for the other processes which fail to connect. That might help.
----- Original Message -----
From: Devarshi Shah <devarshi at ieee.org>
Date: Thursday, March 18, 2004 10:30 am
Subject: [Csci551-talk] A really wierd problem..!!
> Hi,
>
>
>
> I have my code running perfectly on my Linux box, but when trying to port it
> to Solaris, I've come up against something that has me stumped.
>
> Apparently, what happens is this -
>
> After I use an accept call at the Manager to accept a connection from a
> router, I do a recv on that call to read data that my client is going to
> send me.
>
> On the router side, it establishes a connection to the manager using
> connect. However, when I try to send data to the manager, the first process
> which tries to do this succeeds while the rest apparently crash while trying
> to send. The weirdest part is that this same code works perfectly in Linux.
>
> Anybody have any idea what could be going on ??
>
>
>
> --Devarshi
>
>
>
> Devarshi P. Shah
>
> --------------------------------------------------------------
>
> Graduate Student (Computer Science),
>
> University of Southern California, LA.
>
> --------------------------------------------------------------
>
> Web : http://devarshi.shah.name
>
> email : devarshi at ieee.org
>
> Cell : 323-363-3791, Home :323-373-0318
>
> --------------------------------------------------------------
>
>
>
>
>
>
More information about the Csci551-talk
mailing list