lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] Single TCP socket to handle IPv4 and IPv6 traffic


From: address@hidden
Subject: Re: [lwip-devel] Single TCP socket to handle IPv4 and IPv6 traffic
Date: Thu, 26 Mar 2015 20:18:26 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

Rahul Gundecha wrote:
Hi all,

I need to support IPv6 connections with an existing IPv4 socket based HTTP server. There are two possibilities to accomplish this:
1) Have 2 sockets, one for IPv4, other for IPv6.
2) Have single socket handling both IPv4 and IPv6. Such support do not seem to be present in lwip at this moment.

Without digging too deep in your question (sorry, no time right now), I want to point out that using the socket API, please do not try to do anything what lwIP allows. Try to find out how the API standard wants you to do things, do it like that and tell us if lwIP doesn't work the standard way. Because if it doesn't and you use it in a way it happens to work for you, chances are that we fix lwIP to follow the standard which might brake things for you...

Anyway, IPv6 is far from finished in lwIP, so there might well be things not working, yet.

Given that, does your approach of handling IPv4 and IPv6 work on linux, unix or win32? If yes, how do you open the socket?

Simon



reply via email to

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