christoph2/pyxcp

Transport ETH socket bind

PeterGondek opened this issue · 1 comments

Hi All,

is it possible to add in transport/eth.py the possibility to bind the socket to concrete IP address defined in config?

For IPv6 when You have multiple IPs assigned to the ETH adapter, sometimes You need to pick up concrete IP.
pyxcp_transport_eth_py.zip

Best Regard,

Peter

Yep, patch accepted, but I changed the names of the configuration parameters to IPV6_BIND_TO_ADDRESS resp. IPV6_BIND_TO_PORT.

I will integrate it in the main-line ASAP -- file eth.py is also affected by a comprehensive change not finished yet.