I'm going to have a topology of 5 laptops reporting back to a central laptop. Each laptop will open a socket to port 2000-2005 respectively.
I'm trying to figure out the best way to have 5 <and eventually 25> open sockets in perl and efficiently manage the live data coming in.
Any topology advice, cpan module, what not, is appreciated.. Because I have been getting burned with random Broken Pipe messages, I'm very eager to hear some advice on how others are doing this <correctly> and how they would go about it.
5 open sockets waiting for connections on ports 2000 and up. data comes in from remote devices. how do u make sure that if there is a broken pipe that the connection gets reopened rather then left hanging unable to bind back to the port?