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 <
[hidden email]>:
> 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 : ByteArray>>doesNotUnderstand:#port:
> I'm using the last Pharo.
> Thank you,
> --
> Serge Stinckwich
> UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam
> Smalltalkers do: [:it | All with: Class, (And love: it)]
>
http://doesnotunderstand.org/>
> _______________________________________________
> Pharo-project mailing list
>
[hidden email]
>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project>
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project