lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-users] bind and selection of local ethereal ports


From: Taranowski, Thomas (SWCOE)
Subject: RE: [lwip-users] bind and selection of local ethereal ports
Date: Fri, 7 Mar 2008 12:31:32 -0500

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

> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden
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
<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
> >  >
> >
> 
> 
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]