On Thu, Jul 31, 2003 at 05:34:32PM -0500, Craig A. Berry wrote: > At 1:30 PM -0700 7/31/03, Michael G Schwern wrote: > >On Thu, Jul 31, 2003 at 09:15:47AM -0500, Craig A. Berry wrote: > >> Obviously there's no way we can or should resolve this in a way that > >> will satisfy everybody. With the exception of twiddling the > >> non-blocking bit on a socket, Net::Ping works fine on VMS if you have > >> an echo service running. If you don't it won't, and it's your > >> choice. Yes, this should be documented somewhere. Patches welcome. > > > >Is this Net::Ping in general or just the tests? > > It's anything that calls the socket_blocking_mode function in > Ping.pm, and that includes tcp_connect. I'm not familiar enough with > the whole range of what Net::Ping does to know what quadrant of its > capabilities are absent on VMS. At least some tests pass, so I > assume there is some working functionality.
Well, WRT not having an echo service running; if its just that the tests expect an echo server to be present the test could check for it and if not set up a real simple one. The only problem is echo is a priviledged port (at least on Unix) so you'd have to be root to do this. A simple fix would be to extend the Net::Ping interface to accept an optional port # for the echo server. -- There is nothing wrong. We have taken control of this sig file. We will return it to you as soon as you are groovy.
