I've been searching and I've found a LOT of tutorials on creating sockets in Perl. In a few cases there's even chat applications.
What I haven't found is anything on how to send AND receive on the same port.
I want to be able to send out a broadcast message (which I know is UDP), then listen for a response on the same port. This is a simple app to find a system when you can't be sure where it is on the LAN (in case I can't get an assigned IP address for the system).
Are there any tutorials or is there any information using a socket on one port for sending AND receiving? (Or a way to make one socket to listen and one to send?)
In reply to Sending AND Receiving on the Same Port by HalNineThousand
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |