Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Network Programming Question

Status
Not open for further replies.

gnikol1

IS-IT--Management
Jan 30, 2002
29
EU
Can anyone tell me if a single perl program can be server and client using the same or different ports?

Thanks a lot
 
Don't understand what you mean! Please explain a little more. What are you trying to do?
 
I am trying to write a script which is going to listen from one port an connect from another.
Is like the same process is client server in itself
 
What you're asking for is quite possible, have a look at the perlipc manpage. You can do that by checking the perl documentation on your machine either in html or by using 'perldoc perlipc' on the command line.

Have a play and then come ask again :) Mike
"Experience is the comb that Nature gives us after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top