[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] udp.scm: new udp-bound-port
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] udp.scm: new udp-bound-port |
Date: |
Mon, 8 Aug 2005 05:39:26 +0200 |
On 8/5/05, Daishi Kato <address@hidden> wrote:
> Here is a small patch for udp.scm, adding udp-bound-port,
> which is especially needed when you pass port=0 in udp-open-socket.
Thanks, will be fixed.
>
> I also noticed, an extra line in ##net#getsockport in tcp.scm;
> "unsigned char *prt;"
>
> And, to make my compiler happy, I added a cast;
> &len -> (socklen_t *)&len
>
> Both are applied in this patch, wouldn't it be better
> to do the same in tcp.scm?
>
That's right. I've done the changes you suggest.
cheers,
felix