Hi. Look also on these projects (in order from low level to high): - http://smalltalkhub.com/#!/~Pharo/TCPServer. - http://smalltalkhub.com/#!/~Pharo/Basys - http://smalltalkhub.com/#!/~Pharo/Seamless 2017-02-28 18:27 GMT+01:00 Benoit St-Jean via Pharo-users < pharo-users@lists.pharo.org>:
---------- ÐеÑеÑÑлаемое ÑообÑение ---------- From: Benoit St-Jean <bstjean@yahoo.com> To: Any question about pharo is welcome <pharo-users@lists.pharo.org> Cc: Bcc: Date: Tue, 28 Feb 2017 17:27:58 +0000 (UTC) Subject: Socket, network, testing and coding Hi guys,
Quick question regarding sockets and testing.
I'm trying to implement a simple communication protocol to exchange data (strings) between 2 images and I was wondering what was the easiest way to test/develop my code? I want to be able to do something similar to a chat client between 2 images where none of those 2 images acts as a server. So data can originate from any of those 2 images and both images have to "listen" to each other. Besides, both images would have to transmit/receive on the same port.
1) Is this possible (the way I want to do/test it)? 2) How do I simulate something like this on a *single* machine running those 2 images? 3) Do I need to have one of those 2 images act as a "server" ? 4) Any helpful tip and/or interesting link to propose? 5) Can you think of any simple code or example I could look at to understand what I need to do?
----------------- Benoît St-Jean Yahoo! Messenger: bstjean Twitter: @BenLeChialeux Pinterest: benoitstjean Instagram: Chef_Benito IRC: lamneth Blogue: endormitoire.wordpress.com "A standpoint is an intellectual horizon of radius zero". (A. Einstein)