in reply to IO::Socket::INET, threads, and screwy recv() results

Here are a couple of nodes which may help. Passing sockets between segregated threads and Re^3: Passing globs between threads

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: IO::Socket::INET (dup?)
by jettero (Monsignor) on Jan 04, 2006 at 13:30 UTC
    I actually linked to that first one at the top...

    I have yet to try a $new_socket->fdopen( $id, "+>" ) though. It's worth a shot. But I think the actual problem relates to the wrong choice of recv(). I'm pretty sure I need to also try read() with atmark() instead.

    Do you have to flush the socket (or something) somehow when you use recv()? Ultimately I need to do a lot more experiments. This project should not be difficult. *sigh*