[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] SOF_REUSEADDR & SOF_REUSEPORT
From: |
Robert |
Subject: |
Re: [lwip-users] SOF_REUSEADDR & SOF_REUSEPORT |
Date: |
Tue, 13 Jan 2004 12:35:43 -0500 (EST) |
On Tue, 13 Jan 2004, Jani Monoses wrote:
> > Shouldn't the line:
> > if (flags & (TCP_ACK | TCP_SYN) &&
> > be:
> > if (flags&TCP_ACK && flags&TCP_SYN) &&
> >
>
> Yes this looks like why it behaves strange. I'll correct it
> thanks
My compiler perfers that the line be coded this way:
if( (flags&TCP_ACK && flags&TCP_SYN) &&
--
Best Regards,
Robert Laughlin