Well, currently OWNet assumes a bare address is a port number or service
name. Shall I add a special case for "localhost"?
i.e. support forms are
host:
host:port
ip:
ip:port
host:service
ip:service
port
service
:port
:service
but not
host
ip
Paul Alfille
On 2/5/07, Tim Sailer <[EMAIL PROTECTED]> wrote:
#!/usr/bin/perl -w
my $owserver=OWNet->new("localhost -F");
gives
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl/5.8/IO/Socket/INET.pm line 63.
and reads fail until you read or write something besides a sensor value.
Writing to simultaneous/temperature works well. :)
However:
my $owserver=OWNet->new("localhost:4304 -F");
works just fine. I just spent a long time hunting this down. Hopefully
this will save someone else the hassle.
Tim
--
Tim Sailer
Coastal Internet, Inc.
www.buoy.com
631-399-2910
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers