racket-matrix-2012/presence/NOTES-tcp.txt

12 lines
741 B
Plaintext

15:01 < tonyg> samth: even tcp has this automatic-resource-allocation thing
that we described yesterday for rudybot-big-bang! to open a
connection, advertise (you your-port target-ip target-port) and
subscribe (target-ip target-port you your-port)
15:01 < tonyg> and to listen, advertise (you your-port * *) and subscribe (* *
you your-port)
15:02 < tonyg> note that where the wildcards are permitted varies between the
languages used for ad patterns and sub patterns!
15:02 < tonyg> (uh, and the driver uses presence/directory to auto-open and
-close the underlying sockets)
15:35 < tonyg> Oh UDP has the same pattern (though less restrictive)