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

[REBOL] Re: retrieving data from TCP port

From: petr:krenzelok:trz:cz at: 22-Oct-2002 7:37

[Francois--Prowse--alcatel--co--nz] wrote:
>hmmm, all looks good to me...however > >>>result: copy port >>> >>> >** Access Error: Network timeout >** Where: halt-view >** Near: result: copy port > >I'll have to fire up tcpdump and see if data is really comming back >in....either that or adjust the time outs. What does copy wait for before >terminating/closing the port > >Francois >
'copy wait for RST or FIN packet imo, or new data arrival. In sync mode, you exit the loop either by retrieving new data on the port, getting port closed by remote side, or receiving timeout on port ... I don't like sync mode and I use /no-wait mostly ... -pekr-