[Pharo-project] SocketconnectTo:port: fail

2009-08-12 Thread Serge Stinckwich
Hi all, do some modifications occurs recently in the socket classes ? Because when i'm trying to do : | socket | socket := Socket newTCP. socket connectTo: #[127 0 0 1] port:6665. I have a DNU now : ByteArraydoesNotUnderstand:#port: I'm using the last Pharo. Thank you, -- Serge Stinckwich UMI

Re: [Pharo-project] SocketconnectTo:port: fail

2009-08-12 Thread Serge Stinckwich
On Thu, Aug 13, 2009 at 11:40 AM, Hernán Morales Durandhernan.mora...@gmail.com wrote: Hi Serge,  This works for me: | socket1 socket2 | socket1 := Socket newTCP. socket2 := Socket newTCP. socket1 listenOn: 6665. address := NetNameResolver addressForName: '127.0.0.1' timeout: 20. socket2

Re: [Pharo-project] SocketconnectTo:port: fail

2009-08-12 Thread Hernán Morales Durand
Hi Serge, This works for me: | socket1 socket2 | socket1 := Socket newTCP. socket2 := Socket newTCP. socket1 listenOn: 6665. address := NetNameResolver addressForName: '127.0.0.1' timeout: 20. socket2 connectTo: address port:6665. Regards Hernán 2009/8/13 Serge Stinckwich