lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Supporting SO_REUSEADDR and SO_REUSEPORT


From: Mumtaz Ahmad
Subject: Re: [lwip-users] Supporting SO_REUSEADDR and SO_REUSEPORT
Date: Fri, 3 Nov 2006 17:35:36 +0500

Dear Amir

I donot think SO_REUSEADDR has any thing related with sock opening or
closing as far as i know. This option is mainly used to re use the port
number and avoid a bind() error 'Address already in use'. Lwip already
supports it by default

Mumtaz Ahmad
Project Manager
Network Systems Group
Streaming Networks Islamabad
Pakistan



----- Original Message ----- 
From: "Amir Bukhari" <address@hidden>
To: "Mailing list for lwIP users" <address@hidden>
Sent: Friday, November 03, 2006 4:36 PM
Subject: [lwip-users] Supporting SO_REUSEADDR and SO_REUSEPORT


> MATLAB Simulink has a external mode, which let modell running on target to
commicate with Simulink. It uses SO_REUSEADDR. So that after a connection is
closed it can be reused without opening a new socket.
> To support this, I think lwip_close/lwip_accept should be changed to
support this.
> As a workaround on MATLAB side (on my target) I do not close the
connection when MATLAB request that, so that a new connection can be
accepted.
>
> Does anybody have made a change to sockets.c to add SO_REUSEADDR?
>
> --------------------
> Amir Bukhari
> aquintos GmbH * integration experts
> Lammstraße 21 * 76133 Karlsruhe * GERMANY
> phone: 0721 / 516 38-0
> Mobile +49-179-7318737
> Mail: address@hidden
> Web: http://www.aquintos.com
>
>
>
> _______________________________________________
> 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]