|
From: | richardhu |
Subject: | [lwip-devel] [bug #47781] does lwIP support listen/bind on multiple IP and multiple port? |
Date: | Mon, 25 Apr 2016 09:08:00 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17 |
URL: <http://savannah.nongnu.org/bugs/?47781> Summary: does lwIP support listen/bind on multiple IP and multiple port? Project: lwIP - A Lightweight TCP/IP stack Submitted by: hyr666 Submitted on: Mon 25 Apr 2016 09:07:59 AM GMT Category: IPv4 Severity: 3 - Normal Item Group: Feature Request Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: lwIP version: 1.4.1 _______________________________________________________ Details: My senario should be a little special and I want to confirm if it's feasible. What I have done by using lwIP receive IP packets, and lwIP use lwIP socket API to bind and listen on one specific IP and port. And receive according layer7 data and do something on it. And this already worked. What I want to do is based on above solution to receive IP packets with different target IP. That's means lwIP socket API need to bind/listen on multiple IPs and ports (maybe 255 IPs and port rang from 0-65535). Is this feasible for current lwIP code? assign different IP on one NIC or start several NIC should not a good way. Will this need raw API? or does that easy if can use raw API? _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?47781> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |