You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/04/28 16:00:19 UTC

[GitHub] [incubator-nuttx] patacongo edited a comment on pull request #3598: net/ip: bypass UDP input only when the device address is invalid

patacongo edited a comment on pull request #3598:
URL: https://github.com/apache/incubator-nuttx/pull/3598#issuecomment-828569203


   > Yes, I have imagine this solution before, but it is fragile because mulitple socket can set SO_BINDTODEVICE option, a simple flags will break the last user. We need a bound count here at least.
   
   No, only one socket can be bound to the device.  At least that is my understanding.  All incoming packets must go only to the bound socket, hence only one socket may be bound to a device.  I think attempting to bind  second socket will result in an error, but I am not sure which error.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org