--- Begin Message ---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)
--- End Message ---
[Pharo-users] Socket, network, testing and coding
Benoit St-Jean via Pharo-users Tue, 28 Feb 2017 09:29:05 -0800
- [Pharo-users] Proof of Concept: FileTree an... Pierce Ng
- Re: [Pharo-users] Proof of Concept: Fi... stepharong
- Re: [Pharo-users] Proof of Concept... Offray Vladimir Luna Cárdenas
- Re: [Pharo-users] Proof of Con... Thierry Goubier
- Re: [Pharo-users] Proof of... Offray Vladimir Luna Cárdenas
- Re: [Pharo-users] Pro... Thierry Goubier
- Re: [Pharo-users]... Offray Vladimir Luna Cárdenas
- Re: [Pharo-us... stepharong
- [Pharo-users] Socket, netw... Benoit St-Jean via Pharo-users
- Re: [Pharo-users] Soc... Juraj Kubelka
- Re: [Pharo-users]... Denis Kudriashov
- Re: [Pharo-users] Soc... Evan Donahue
- Re: [Pharo-users]... Denis Kudriashov
- Re: [Pharo-users] Soc... Denis Kudriashov
- Re: [Pharo-users] Proof of Con... Pierce Ng
- Re: [Pharo-users] Proof of Concept... Thierry Goubier
- Re: [Pharo-users] Proof of Concept: Fi... Thierry Goubier
- Re: [Pharo-users] Proof of Concept... Pierce Ng
- Re: [Pharo-users] Proof of Con... Thierry Goubier