RE: two-way socket troubleshooting

2002-12-30 Thread Bob Showalter
> -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 i

RE: two-way socket troubleshooting

2002-12-30 Thread Kipp, James
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

Re: two-way socket troubleshooting

2002-12-29 Thread Mark Goland
"Welcome\n"); sysread(SOCK, $line,1024); print "server: $line\n"; close (SOCK) || die "close: $!"; exit; good luck, Mark - Original Message - From: "Mat Harris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 28,

two-way socket troubleshooting

2002-12-28 Thread Mat Harris
i have a client and server which I want to be able to have communicate in full-duplex. I need the client to send a string to the server, the server to check it and then return a status code (plus some other stuff). I have the client and server (see attached .txt files) but when I run them, attempi