Re: [Owfs-developers] owserver enhancement for faster directory listing.

2007-01-11 Thread George M. Zouganelis
Paul, one more question about the owserver protocol... doing requests with those headers below, presence, write, dir/dirall works ok The read function behaves somewhat funny. a. numbers are msg packet contents, first=version b. all my functions use the same sendPacket/getPacket function take a

Re: [Owfs-developers] owserver enhancement for faster directory listing.

2007-01-11 Thread Paul Alfille
Good pickup. Now: *if* ( cm->ret ) { cm->size = cm->payload = 0 ; } *else* { cm->payload = cb.used ; cm->size = cb.used -1 ; } Paul Alfille On 1/11/07, George M. Zouganelis <[EMAIL PROTECTED]> wrote: George M. Zouganelis wrote on 11/1/2007 16:29: > Paul, > > in o

Re: [Owfs-developers] owserver enhancement for faster directory listing.

2007-01-11 Thread Roberto Spadim
i'm changin ownet.php and ownet.vb to allow UDP sockets instead TCP the protocol is the same just the socket type will be changed i will wait an owserver with udp to test thankx Peter Kropf escreveu: > I'll get to ownet.py but it'll be a couple of weeks. I've just got too > many things going on at

Re: [Owfs-developers] owserver enhancement for faster directory listing.

2007-01-11 Thread Peter Kropf
I'll get to ownet.py but it'll be a couple of weeks. I've just got too many things going on at the same time. Sorry... - Peter On 1/10/07, Paul Alfille <[EMAIL PROTECTED]> wrote: > I've just committed to the CVS an enhancement to the owserver protocol: > msg_dirall. > > The old method, msg_dir,

Re: [Owfs-developers] owserver enhancement for faster directory listing.

2007-01-11 Thread George M. Zouganelis
George M. Zouganelis wrote on 11/1/2007 16:29: Paul, in owserver : DirallHandler if ( cm->ret ) { cm->size = cm->payload = 0 ; } else { cm->size = cm->payload = cb.used; } I have a cb.blob ending with two NULL chars , and a cb.used including both them Shouldn't we r

Re: [Owfs-developers] owserver enhancement for faster directory listing.

2007-01-11 Thread George M. Zouganelis
Paul, in owserver : DirallHandler if ( cm->ret ) { cm->size = cm->payload = 0 ; } else { cm->size = cm->payload = cb.used; } I have a cb.blob ending with two NULL chars , and a cb.used including both them Shouldn't we return a cm->size = cm->payload = cb.used - 1 or ch

Re: [Owfs-developers] owserver enhancement for faster directory listing.

2007-01-11 Thread Roberto Spadim
ownet.vb updated please update CVS http://www.spadim.com.br/ownetvb-csocketmaster.zip http://www.spadim.com.br/ownetvb-winsock.zip thankx VERSION: 2007.01.11 - 07:16 BRST remove all ownet.vb files from cvs, and add two directories one is csocketmaster directory the others is microsoft winsock co

Re: [Owfs-developers] owserver enhancement for faster directory listing.

2007-01-11 Thread Roberto Spadim
ownet.php updated please update CVS: http://www.spadim.com.br/owphp.php.txt VERSION: 2007.01.11 - 07:11 BRST Roberto Spadim escreveu: > how can i update ownet.php and ownet.vb CVS? > > Roberto Spadim escreveu: > >> what's >> >> LINE 171: my $msg_get = 8 ; >> >> msg_get??? any implementation

Re: [Owfs-developers] owserver enhancement for faster directory listing.

2007-01-11 Thread Roberto Spadim
how can i update ownet.php and ownet.vb CVS? Roberto Spadim escreveu: > what's > > LINE 171: my $msg_get = 8 ; > > msg_get??? any implementation or just a todo feature? > > > > Paul Alfille escreveu: > >> I've just committed to the CVS an enhancement to the owserver >> protocol: msg_dirall. >

Re: [Owfs-developers] owserver enhancement for faster directory listing.

2007-01-11 Thread Roberto Spadim
what's LINE 171: my $msg_get = 8 ; msg_get??? any implementation or just a todo feature? Paul Alfille escreveu: > I've just committed to the CVS an enhancement to the owserver > protocol: msg_dirall. > > The old method, msg_dir, sent a tcp packet for each directory element. > msg_dirall sen

Re: [Owfs-developers] owserver enhancement for faster directory listing.

2007-01-10 Thread Roberto Spadim
i don't know perl very well, what changed?! i will send msg_dirall and return like an "file" read? i don't need loop for each return? what function number is dirall? 6? 7? thankx paul, after this i wil change php and vb Paul Alfille escreveu: > I've just committed to the CVS an enhancement to the

[Owfs-developers] owserver enhancement for faster directory listing.

2007-01-10 Thread Paul Alfille
I've just committed to the CVS an enhancement to the owserver protocol: msg_dirall. The old method, msg_dir, sent a tcp packet for each directory element. msg_dirall sends the whole directory, comma separated. Two of the clients, owdir and OWNet.pm (perl) have been modified to use the new method