Sockets are by nature a 2 way communication. After I write to a socket I can 
read from that socket and get back whatever the receiver returns. In fact the 
whole premise of what I am foing depends on it.

Bob S


On Feb 25, 2025, at 9:10 PM, Richard Gaskin via use-livecode 
<use-livecode@lists.runrev.com> wrote:

This excercise raises a question:  rather than invent another protocol,
why not use HTTP?


Usually, because HTTP is quite decidedly a client-server protocol.
If you have a peer-peer protocol need, then you have to bend HTTP
out of shape :-)

Sockets work by having a listening and a caller.  Having both on both sides is 
P2P.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to