Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

RE: Re: Tcp client and servers

by ant (Scribe)
on Sep 27, 2000 at 20:00 UTC ( [id://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
Ant

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-03-28 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found