[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] bind and selection of local ethereal ports
From: |
Bikram Chatterjee |
Subject: |
Re: [lwip-users] bind and selection of local ethereal ports |
Date: |
Thu, 6 Mar 2008 08:03:29 +0530 |
In function tcp_bind (tcp.c) the code below handles the situation:
if (port == 0) {
port = tcp_new_port();
}
This function is invoked through do_bind from stack.
Bikram
On Thu, Mar 6, 2008 at 7:58 AM, Bikram Chatterjee <address@hidden> wrote:
> I did the same and it worked for me. You can browse through bug list
> on 1.2 and see if there is any such fix.
>
> Bikram
>
>
>
> On Thu, Mar 6, 2008 at 5:12 AM, Taranowski, Thomas (SWCOE)
> <address@hidden> wrote:
> >
> >
> >
> >
> > I had assumed that passing a 0 in as the local port for the bind would
> > result in lwIP selecting an unused one for me, but it appears that this
> > isn't the case. Is this true, or am I just seeing things? I'm using a
> late
> > version of 1.2.
> >
> >
> >
> > Thanks!
> > _______________________________________________
> > lwip-users mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/lwip-users
> >
>