Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

RE: Re: Tcp client and servers

by ant (Scribe)
on Sep 27, 2000 at 20:00 UTC ( #34227=note: print w/replies, xml ) Need Help??

in reply to Re: Tcp client and servers
in thread Tcp client and servers

Thanks for your reply
I solved the problem eventually. I had hardcoded the computer name address in the server program and used the hostname() method
in the client program. Even though both programs sat on the same computer, the client could not figure out where to
send the data to.
All this became a little clearer when I put in the -w switch in at the top. But i have now inserted $@ instead of $i in the code.
many thanks

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://34227]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2023-02-04 01:38 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (30 votes). Check out past polls.