Re: [Gambas-user] Problem with READ on a UDP socket

2008-11-04 Thread Benoit Minisini
On mardi 4 novembre 2008, Gareth Bult wrote: > >Without that buffer, it is brain-fucking: > > No, I can live with that solution.. :-) > > It was using a pointer as a stream that I missed .. > > Many thanks, > Gareth. > I have implemented a buffered UdpSocket in the revision #1669 of Gambas 3. If

Re: [Gambas-user] Problem with READ on a UDP socket

2008-11-04 Thread Gareth Bult
t; Sent: Tuesday, 4 November, 2008 3:51:14 PM GMT +00:00 GMT Britain, Ireland, Portugal Subject: Re: [Gambas-user] Problem with READ on a UDP socket On mardi 4 novembre 2008, Gareth Bult wrote: > Erm, Ok .. I was expecting a buffer layer between socket library and Gambas > .. but that asid

Re: [Gambas-user] Problem with READ on a UDP socket

2008-11-04 Thread Benoit Minisini
On mardi 4 novembre 2008, Gareth Bult wrote: > Erm, Ok .. I was expecting a buffer layer between socket library and Gambas > .. but that aside, If I'm expecting a binary packet via a UDP socket, for > example; > > - 1 byte > - 4 bytes > - 2 bytes > - up to 1024, dictated by > > Can anyone tell

Re: [Gambas-user] Problem with READ on a UDP socket

2008-11-04 Thread Gareth Bult
t;[EMAIL PROTECTED]> To: "mailing list for gambas users" Sent: Tuesday, 4 November, 2008 2:35:21 PM GMT +00:00 GMT Britain, Ireland, Portugal Subject: Re: [Gambas-user] Problem with READ on a UDP socket On mardi 4 novembre 2008, Gareth Bult wrote: > Hi, > > I think I repor

Re: [Gambas-user] Problem with READ on a UDP socket

2008-11-04 Thread Gareth Bult
ize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:69: required file `./config.guess' not found configure.ac:69: `automake --add-missing' can install `config.guess' configure.ac:69: required file `./config.sub' not found configure.ac:69: `automa

Re: [Gambas-user] Problem with READ on a UDP socket

2008-11-04 Thread Werner
Benoit Minisini wrote: > On mardi 4 novembre 2008, Gareth Bult wrote: > >> Hi, >> >> I think I reported this quite a while ago but it still seems to be a >> problem ... using READ to try to acquire less than the entire available >> buffer doesn't seem to work .. and if I read the entire buffer,

Re: [Gambas-user] Problem with READ on a UDP socket

2008-11-04 Thread Benoit Minisini
On mardi 4 novembre 2008, Gareth Bult wrote: > Hi, > > I think I reported this quite a while ago but it still seems to be a > problem ... using READ to try to acquire less than the entire available > buffer doesn't seem to work .. and if I read the entire buffer, there's no > obvious way to break t

Re: [Gambas-user] Problem with READ on a UDP socket

2008-11-04 Thread Benoit Minisini
On mardi 4 novembre 2008, Benoit Minisini wrote: > On mardi 4 novembre 2008, Gareth Bult wrote: > > Hi, > > > > I think I reported this quite a while ago but it still seems to be a > > problem ... using READ to try to acquire less than the entire available > > buffer doesn't seem to work .. and if

Re: [Gambas-user] Problem with READ on a UDP socket

2008-11-04 Thread Benoit Minisini
On mardi 4 novembre 2008, Gareth Bult wrote: > Hi, > > I think I reported this quite a while ago but it still seems to be a > problem ... using READ to try to acquire less than the entire available > buffer doesn't seem to work .. and if I read the entire buffer, there's no > obvious way to break t