Title: IPv6 does not work with link-local addresses · Issue #61 · jacobschaer/python-doipclient · GitHub
Open Graph Title: IPv6 does not work with link-local addresses · Issue #61 · jacobschaer/python-doipclient
X Title: IPv6 does not work with link-local addresses · Issue #61 · jacobschaer/python-doipclient
Description: The IPv6 implementation does work with "::1" but not with link-local addresses. For this to work I have replaced some lines in the client: def _connect(self): """Helper to establish socket communication""" ipv6 = type(ipaddress.ip_addres...
Open Graph Description: The IPv6 implementation does work with "::1" but not with link-local addresses. For this to work I have replaced some lines in the client: def _connect(self): """Helper to establish socket communic...
X Description: The IPv6 implementation does work with "::1" but not with link-local addresses. For this to work I have replaced some lines in the client: def _connect(self): """Helper to ...
Opengraph URL: https://github.com/jacobschaer/python-doipclient/issues/61
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IPv6 does not work with link-local addresses","articleBody":"The IPv6 implementation does work with \"::1\" but not with link-local addresses. For this to work I have replaced some lines in the client:\n\n def _connect(self):\n \"\"\"Helper to establish socket communication\"\"\"\n\n ipv6 = type(ipaddress.ip_address(self._ecu_ip_address)) == ipaddress.IPv6Address\n\n self._tcp_sock = socket.socket(self._address_family, socket.SOCK_STREAM)\n self._tcp_sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, True)\n self._tcp_sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, True)\n if self._client_ip_address is not None:\n if ipv6:\n ip_address, scope_id = self._client_ip_address.split(\"%\")\n interface_index = socket.if_nametoindex(scope_id)\n self._tcp_sock.bind((ip_address, 0, 0, interface_index))\n else:\n self._tcp_sock.bind((self._client_ip_address, 0))\n\nThis works for me when called with a \"...%...\" address (same for UDP port), I'm not an expert on IPv6 though.","author":{"url":"https://github.com/maspiess","@type":"Person","name":"maspiess"},"datePublished":"2025-07-28T14:26:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/61/python-doipclient/issues/61"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ed7b0dbf-bb61-ba54-6295-bd867b4a0648 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B97C:35E4E2:411110:5841FB:6A5ED31D |
| html-safe-nonce | 1b9dc23264f4e2c54dfcd93fded22a2d811ad18dc6251de2e1a561732c02ccc0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTdDOjM1RTRFMjo0MTExMTA6NTg0MUZCOjZBNUVEMzFEIiwidmlzaXRvcl9pZCI6IjI3Nzk1NDU4NTg5OTYwOTc4MjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c3434d35fcc203df10cdb8e2d2230e3656bcddcfb871e351b5d2bf0db58041b6 |
| hovercard-subject-tag | issue:3270142320 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/jacobschaer/python-doipclient/61/issue_layout |
| twitter:image | https://opengraph.githubassets.com/28314909b417aeac648fc1a91297f60a7090ac32df97ec7a80fe86ffa7d2266a/jacobschaer/python-doipclient/issues/61 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/28314909b417aeac648fc1a91297f60a7090ac32df97ec7a80fe86ffa7d2266a/jacobschaer/python-doipclient/issues/61 |
| og:image:alt | The IPv6 implementation does work with "::1" but not with link-local addresses. For this to work I have replaced some lines in the client: def _connect(self): """Helper to establish socket communic... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maspiess |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9bd00899c80f8b6ea4e7a96c99290af4722b0befdf9e021b19232cbd6f993660 |
| turbo-cache-control | no-preview |
| go-import | github.com/jacobschaer/python-doipclient git https://github.com/jacobschaer/python-doipclient.git |
| octolytics-dimension-user_id | 5303784 |
| octolytics-dimension-user_login | jacobschaer |
| octolytics-dimension-repository_id | 324655816 |
| octolytics-dimension-repository_nwo | jacobschaer/python-doipclient |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 324655816 |
| octolytics-dimension-repository_network_root_nwo | jacobschaer/python-doipclient |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9996307881fdf9017d864a20b3dfe5aae4dddd3e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width