udp support Alex Shinn (01 Sep 2014 03:27 UTC)
Re: udp support John Cowan (01 Sep 2014 04:55 UTC)
Re: udp support Takashi Kato (01 Sep 2014 05:13 UTC)
Re: udp support Alex Shinn (01 Sep 2014 05:13 UTC)
Re: udp support Shiro Kawai (01 Sep 2014 12:43 UTC)

Re: udp support John Cowan 01 Sep 2014 04:40 UTC

Alex Shinn scripsit:

> I'm in the process of porting hato to R7RS and was
> considering using SRFI 106.

I haven't checked lately, but ISTR that SRFI 106 was only meant for TCP.

> Am I missing something or is there no way to get the
> client host or port when receiving udp packets?
> Chicken and Racket handle this by returning multiple
> values.  Chibi follows C and uses a mutable address
> parameter.

You might want to look at
<http://trac.sacrideo.us/wg/wiki/DatagramChannelsCowan>,
which tracks the C API fairly closely.

Also, note <http://www.ccil.org/~cowan/temp/srfi-116.html>,
immutable lists.

--
John Cowan          http://www.ccil.org/~cowan        xxxxxx@ccil.org
        "You need a change: try Canada"  "You need a change: try China"
                --fortune cookies opened by a couple that I know