Thanks Bikram.  I must have forgot my coffee that morning, because it's
sitting there in plain sight :)

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
On
> Behalf Of Bikram Chatterjee
> Sent: Wednesday, March 05, 2008 6:33 PM
> To: Mailing list for lwIP users
> Subject: Re: [lwip-users] bind and selection of local ethereal ports
> 
> 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
<[EMAIL PROTECTED]>
> 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)
> >  <[EMAIL PROTECTED]> 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
> >  >  [email protected]
> >  >  http://lists.nongnu.org/mailman/listinfo/lwip-users
> >  >
> >
> 
> 
> _______________________________________________
> lwip-users mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/lwip-users


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to