Ziggy wrote:
> Pardon me for jumping in here, but I did notice that in this last  
> message you were using port 4303 while in your next earlier message  
> regarding owfs you were using port 4304. That would explain the  
> 'connection refused'. Hope this helps somehow.
>
>   
I caught that too, I just copied the wrong one. My eyes don't work so 
good. But the read and write problem exists regardless,

> On Aug 13, 2009, at 7:50 PM, William Brown <mahi...@earthlink.net>  
> wrote:
>
>   
>> I too have been having trouble so can't offer much help. I have used
>> ownet successfully in the past but now when I run the code below I  
>> get a
>> connection refused error.  OW for perl works ok.
>>
>> # read
>>  $io_1_8_Pio3 = OWNet::read('192.168.0.54:4303',
>> '/29.9D6D04000000/PIO.3') or $io_1_8_Pio3 = " read error";
>>  print "\tPio.1 read >$io_1_8_Pio3\n";
>>  print "\tPio 1 read returned ", $!, "\n\n";
>>
>> # write
>>  $io_1_8_Pio3 = OWNet::write('192.168.0.54:4303',
>> '/29.9D6D04000000/PIO.3', '1') or $io_1_8_Pio3 = " write error";
>>  print "\tPio.1 write >$io_1_8_Pio3\n";
>>  print "\tPio 1 write returned ", $!, "\n";
>>
>> Results
>>
>>    Pio.1 read > read error
>>    Pio 1 read returned > Connection refused
>>
>>    Pio.1 write > write error
>>    Pio 1 write returned > Connection refused
>>
>>
>> sachsg wrote:
>>     
>>> No one any suggestion?
>>>
>>> Aren“t anyone using OWNET?
>>>
>>> Guido
>>>
>>>
>>>
>>>
>>> _____________________________________________
>>>
>>> Gesendet:    Mittwoch, 22. Juli 2009 14:27
>>> An:    owfs-developers@lists.sourceforge.net
>>> Betreff:    [Owfs-developers] Problem with OWNet::write
>>>
>>>
>>> Hello,
>>>
>>> I have a Problem with OWNet::write.
>>>
>>> I'm trying to set an I/O-Port from a DS2408. I can set it with  
>>> owhttp and
>>> with
>>>
>>> ./owwrite -s localhost:3129 /29.D3B805000000/PIO.2 1
>>>
>>> and with
>>>
>>> OW::init('localhost:3129');
>>> OW::put('/29.D3B805000000/PIO.2', '1');
>>>
>>> But when I use this Statement
>>>
>>> OWNet::write( 'localhost:3129' , '/29.D3B805000000/PIO.2', '1' ) ;
>>>
>>> nothing happened. The returnvalue is undefined and the port is not  
>>> set.
>>> Reading with OWNet works fine.
>>>
>>> Can anyone help me?
>>>
>>> Guido
>>>
>>>
>>> --- 
>>> --- 
>>> --- 
>>> ---------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports  
>>> 2008 30-Day
>>> trial. Simplify your report design, integration and deployment -  
>>> and focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Owfs-developers mailing list
>>> Owfs-developers@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>
>>>
>>>       
>> --- 
>> --- 
>> --- 
>> ---------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and  
>> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>     
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>   


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to