D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Strange network / perl problem



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 08 July 2002 2:26 pm, Steve Marvell wrote:
server reading faster than client could write

Is that right, or did you mean ...

server writing faster than client could read?


doh, yup - that one :p

it was going into the clients buffer, but being sent a SIGPIPE
immediatly (the PIPE ise sent even when data in buffer).

That sounds pretty fscked up. I was under the impression you only got
a sigpipe when it was all a bit broken. eg. you were writing to a
socket that your peer closed.

you get a pIPE when the connection is closed, whatever cuircumstances, iirc.  
IT's to insicate to the process that tehre is activity on the socket and it 
needs to do something.  for somereason the default sigaction is terminate 
though.


i didn't see it because all the tests i were doing was over my home
network - 100mb/sec but only a standard crappy switch - whereas in
telehouse the network is a magnitude more responsive.

I'm still confused.

me too ;p

time to look in my advanced programming i nthe unix enviroent book. argh.

- -- 

Theo Zourzouvillys
http://zozo.org.uk/

Blow it out your ear.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9KZTb448CrwpTn6YRAnucAJ0ZnuXBLMdd5s1JxH+PvFRrt8m0TACffr3e
E1J54OR4pGycqf6guEEctbM=
=mlua
-----END PGP SIGNATURE-----


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly