Skip Menu |

This queue is for tickets about the libnet CPAN distribution.

Report information
The Basics
Id: 1387
Status: resolved
Priority: 0/
Queue: libnet

People
Owner: Nobody in particular
Requestors: selsky [...] columbia.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Date: Fri, 2 Aug 2002 00:34:35 -0400
From: Matt Selsky <selsky [...] columbia.edu>
To: Graham Barr <gbarr [...] pobox.com>
Subject: Re: Net::Time bug?
Sorry it took me so long. I finally figured out the problem here, at least for tcp. The return value from recv was checked incorrectly when '-w' and 'use strict' were in use. The attached patch fixes it for tcp. I'll keep looking at udp (I'm having a problem where inet_daytime/inet_time don't return until the $TIMEOUT has elapsed. On Wed, Apr 17, 2002 at 04:26:48PM +0100, Graham Barr wrote: Show quoted text
> I have no idea. All I can suggest is to put a log of debug print statements into > Time.pm an see what it is doing. > > Graham. > > On Wed, Apr 17, 2002 at 10:15:43AM -0400, Matt Selsky wrote:
> > I removed that line and the code still works. Any ideas why > > Net::Time doesn't seem to work? > >
> > > Try it withour the print $s "\n"; On a TCP connection the connect should > > > be sufficient for the remote server to respond, you should not have to send > > > anything.

Message body is not shown because sender requested not to inline it.

From: selsky [...] columbia.edu
Show quoted text
> I'll keep looking at udp (I'm having a problem where > inet_daytime/inet_time don't return until the $TIMEOUT has elapsed.
The UDP problem seems to be something broken with inetd on Solaris8. I'm able to use Net::Time on a Solaris 25 host and it works fine.