Peer to Peer communication
[1/3] from: al:bri:xtra at: 14-Apr-2001 10:07
Can some one show how to achieve Peer to Peer communication between two Rebol clients? For example simply transferring, say, this string: Test: "A test message" Thanks! Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/
[2/3] from: ryanc:iesco-dms at: 13-Apr-2001 15:56
Anytime Andrew, --- peer A ---
>> serving-port: open/lines tcp://:4040 >> conn: first wait [serving-port] ; waits until peer B connects >> msg: first conn ; will wait for incoming message
== "Hello world!"
>> insert conn "Hello back!" >> close conn >> close serving-port
--- peer B ---
>> xmit-port: open/lines tcp://10.67.96.3:4040 >> insert xmit-port "Hello world!^/" >> msg: first xmit-port ; will wait for reply
== "Hello back!"
>> close xmit-port
--Ryan Andrew Martin wrote:
> Can some one show how to achieve Peer to Peer communication between two > Rebol clients? For example simply transferring, say, this string:
<<quoted lines omitted: 7>>> [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
-- Ryan Cole Programmer Analyst www.iesco-dms.com 707-468-5400 I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world. -Einstein
[3/3] from: al::bri::xtra::co::nz at: 15-Apr-2001 9:26
Thanks Ryan! Andrew Martin No longer mad... ICQ: 26227169 http://members.nbci.com/AndrewMartin/
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted