Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: REBOL momentum builds

From: maarten:koopmans:surfnet:nl at: 28-May-2002 10:32

Yes it can. Works like this for a server: ; open the udp server port my-udp: open/no-wait udp://:9090 ; wait max 100ms for events on the port datagram?: wait [ my-udp 100] ;if there is a datagram copy the data if datagram? [ data: copy my-udp] And a client: my-udp: open udp://somehost:someport insert my-dup "lalala" data: copy my-udp See the Core user guide for more details. --Maarten Brett Handley wrote: