Squeak on PDA

Michaël Piel piel at ensm-douai.fr
Wed Feb 22 09:37:01 UTC 2006


On Tue, 21 Feb 2006 21:32:37 +0100
Noury Bouraqadi <bouraqadi at ensm-douai.fr> wrote:

> So, actually, it looks like there are a couple of methods related to 
> UDP (sendUDPData / receiveUDPData) that does not run correctly. Michaël 
> spent a lot of time trying to find this out.

Yes, there is a bug in the SocketPlugin of the Win32 VM for the method Socket>>receiveUDPDataInto:. I've just reported this issue to mantis (http://bugs.impara.de/view.php?id=3035).

Concerning PDA, the WinCE VM is an old 3.1alpha and some methods (like receiveUDPDataInto:, sendData:toHost:port: and setOption:value:) are not implemented.

> BTW, the context is about ad hoc networks, service discovery, group 
> multi-cast (IGMP based)...
> We (Douai's team) will make an annoucement soon. So, keep reading 
> squeak-dev ;-)
> 
> Noury
> Le 21 févr. 06, à 12:33, Guillaume Grondin a écrit :
> 
> > Hello,
> >
> > The error was a failure of the primitive
> > Socket>>primSocket:sendUDPData:toHost:port:startIndex:count:
> >
> > ****** Socket>>sendUDPData:toHost:port: ******
> >
> > sendUDPData: t1 toHost: t2 port: t3
> >    | t4 t5 t6 |
> >    t4 := t1 size.
> >    t5 := 0.
> >    [t5 < t4]
> >        whileTrue: [(self waitForSendDoneFor: 20)
> >                ifFalse: [ConnectionTimedOut signal: 'send data 
> > timeout; data not sent'].
> >            t6 := self
> >                        primSocket: socketHandle
> >                        sendUDPData: t1
> >                        toHost: t2
> >                        port: t3
> >                        startIndex: t5 + 1
> >                        count: t4 - t5.
> >            t5 := t5 + t6].
> >    ^ t5
> >
> > However, it seems that there is no failure anymore when using 
> > sendData: instead of sendUDPData.
> >
> > Guillaume
> >
> > Noury Bouraqadi wrote:
> >> Guillaume,
> >>
> >> Would you like explain what was the problem with socket on PocketPC ?
> >>
> >> Noury
> >> Le 20 févr. 06, à 22:50, Yoshiki Ohshima a écrit :
> >>
> >>>   Hello,
> >>>
> >>>>> - The VM is Squeak 3.1
> >>>>>
> >>>>> Somebody is developing or using squeak in PDA?
> >>>>>
> >>>>
> >>>> Together with people from Douai, I made some experiment.
> >>>> The VM is tagged alpha. So, it is supposed incomplete.
> >>>> For instance, there is no socket support.
> >>>
> >>>   Hmm.  I used to do socket programming with the VM on Pocket PC 
> >>> (iPAQ
> >>> 3600 and friends.)  Some things may have changed since then, 
> >>> though...
> >>>
> >>>   And, no.  I haven't updated the VM.  Sorry.
> >>>
> >>> -- Yoshiki
> >>>
> >>>
> >> --------------------------------------------------------------
> >> Dr. Noury Bouraqadi - Enseignant/Chercheur
> >> Ecole des Mines de Douai - Dept. G.I.P
> >> http://csl.ensm-douai.fr/noury
> >>
> >> European Smalltalk Users Group Board
> >> http://www.esug.org
> >>
> >> Squeak: an Open Source Smalltalk
> >> http://www.squeak.org
> >> --------------------------------------------------------------
> >>
> >>
> >
> > -- 
> > Guillaume Grondin
> > ===========================================
> > Elève-Chercheur en Informatique
> > Département GIP, Ecole des Mines de Douai
> > 941, rue Charles Bourseul
> > BP 10838 - 59508 Douai Cedex
> > Tél : (+33) (0) 3 27 71 24 53
> > Fax : (+33) (0) 3 27 71 29 17
> > Email: grondin at ensm-douai.fr
> >
> >
> >
> --------------------------------------------------------------
> Dr. Noury Bouraqadi - Enseignant/Chercheur
> Ecole des Mines de Douai - Dept. G.I.P
> http://csl.ensm-douai.fr/noury
> 
> European Smalltalk Users Group Board
> http://www.esug.org
> 
> Squeak: an Open Source Smalltalk
> http://www.squeak.org
> --------------------------------------------------------------
> 
> 
> 




More information about the Squeak-dev mailing list