Re: [Owfs-developers] tcp protocol

2006-12-19 Thread Roberto Spadim
version 2006-12-20 4:00 brst fully commented, we need just the class name! Paul Alfille escreveu: > I don't know php, but your code is beautifully presented! > > It seems you have two important public methods, get and set. Get > functions for values, directories and presence, but I'm unsure if it

Re: [Owfs-developers] tcp protocol

2006-12-19 Thread Roberto Spadim
VERSION: 2006.12.20 - 02:54 BRST that's fine, please send me what methods could be used maybe just get,set,dir,presence what class name should we use? OWNETPhp ? OWNetPHP? OWNetphp ? OwNetPHP? OWNetPhp ? OWNET_PHP? OWNet_PHP (the best) ? i will just put new function like dir and presence like

Re: [Owfs-developers] tcp protocol

2006-12-19 Thread Paul Alfille
I don't know php, but your code is beautifully presented! It seems you have two important public methods, get and set. Get functions for values, directories and presence, but I'm unsure if it needs an explicit flag to distinguish the subtype. If som it would be more elegant to simply split the fu

Re: [Owfs-developers] tcp protocol

2006-12-19 Thread Roberto Spadim
sorry, last version after 2006-12-20 03:50 Roberto Spadim escreveu: > i changed the ownet code and i don't think that's broken, i just wrote > another module to php to don't use swig and dl('ow.so') everytime i need > ow :) python is running ok from cvs my old version was broken cause i > chang

Re: [Owfs-developers] tcp protocol

2006-12-19 Thread Roberto Spadim
please try owphp class, last version before 2006-12-20 03:50 GMT Roberto Spadim escreveu: > i changed the ownet code and i don't think that's broken, i just wrote > another module to php to don't use swig and dl('ow.so') everytime i need > ow :) python is running ok from cvs my old version was b

Re: [Owfs-developers] tcp protocol

2006-12-19 Thread Roberto Spadim
i changed the ownet code and i don't think that's broken, i just wrote another module to php to don't use swig and dl('ow.so') everytime i need ow :) python is running ok from cvs my old version was broken cause i changed it without know what i'm doing Peter Kropf escreveu: > Was this originall

Re: [Owfs-developers] tcp protocol

2006-12-19 Thread Peter Kropf
Was this originally a problem with the Python ownet module? Or something else? It would be good to understand what you were originally trying to do and fix any problems that may exist in any of the ow code. - Peter On 12/19/06, Roberto Spadim <[EMAIL PROTECTED]> wrote: > can anyone try it and c

Re: [Owfs-developers] tcp protocol

2006-12-19 Thread Roberto Spadim
can anyone try it and check if it's an good piece of code? Roberto Spadim escreveu: > cancel my thread i made an owphp to work with it :) > > Gregg Levine escreveu: > >> On 12/19/06, Paul Alfille <[EMAIL PROTECTED]> wrote: >> >> >>> Is this a question about owserver or the python ownet?

Re: [Owfs-developers] tcp protocol

2006-12-19 Thread Roberto Spadim
cancel my thread i made an owphp to work with it :) Gregg Levine escreveu: > On 12/19/06, Paul Alfille <[EMAIL PROTECTED]> wrote: > >> Is this a question about owserver or the python ownet? >> >> Paul >> >> >> On 12/19/06, Roberto Spadim <[EMAIL PROTECTED] > wrote: >> >>> hello >>> i can't

Re: [Owfs-developers] tcp protocol

2006-12-19 Thread Gregg Levine
On 12/19/06, Paul Alfille <[EMAIL PROTECTED]> wrote: > Is this a question about owserver or the python ownet? > > Paul > > > On 12/19/06, Roberto Spadim <[EMAIL PROTECTED] > wrote: > > hello > > i can't understand the DIR list > > > > i'm sending : > > path='/' > > > > version=0 > > payload=2 > > t

Re: [Owfs-developers] tcp protocol

2006-12-19 Thread Paul Alfille
Is this a question about owserver or the python ownet? Paul On 12/19/06, Roberto Spadim <[EMAIL PROTECTED]> wrote: hello i can't understand the DIR list i'm sending : path='/' version=0 payload=2 type=msg_dir sg=258 size=0 offset=0 variable payload="/"+chr(0) and i get an return: version=0

[Owfs-developers] tcp protocol

2006-12-19 Thread Roberto Spadim
hello i can't understand the DIR list i'm sending : path='/' version=0 payload=2 type=msg_dir sg=258 size=0 offset=0 variable payload="/"+chr(0) and i get an return: version=0 payload=42 ret=0 sg=258 size=5 offset=0 variable payload="" (this shouldn't be 5 characters?! ) i'm using ownet tha