> -Original Message-
> From: Mat Harris [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, December 28, 2002 10:27 PM
> To: [EMAIL PROTECTED]
> Subject: two-way socket troubleshooting
>
>
> i have a client and server which I want to be able to have
> communicate in
> full-duplex. I need the cl
2 PM
> To: Mat Harris
> Cc: perl
> Subject: Re: two-way socket troubleshooting
>
>
> ok, the problem was with send and read. I think send is used with msg
> passing. If you are going to use raw sockets, then use raw
> writes and reads.
> I tested this on a windows machi
ok, the problem was with send and read. I think send is used with msg
passing. If you are going to use raw sockets, then use raw writes and reads.
I tested this on a windows machine, so might have to change a few things on
*niX.
Server:
use Socket;
$SOMAXCONN=2;
socket(SERVER, AF_INET, SOCK_ST