[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] SOF_REUSEADDR & SOF_REUSEPORT
From: |
Kjell Andersson XW (LI/EAB) |
Subject: |
RE: [lwip-users] SOF_REUSEADDR & SOF_REUSEPORT |
Date: |
Tue, 13 Jan 2004 12:20:56 +0100 |
>What do yu mean by faulty? You can't do anything about dest if there's
>where you want to connect. Nor about Src IP. I have not used
>so_reuse_addr so far.
The fault I made was to use both reuse_addr and reuse_port. I bound the client
port too before connecting.
The tuple <Src IP, src Port, Dest IP, Dest port> was exactly the same both
times. This is not a valid operation in TCP I have been told now.
Still it is strange that the client went to ESTABLISHED state.
> BTW was your client a lwip stack too?
Yes, both client and server is operating in the same lwIP.