jacobschaer / python-doipclient

Pure Python ISO 13400 Client
MIT License
151 stars 50 forks source link

help: network management #24

Closed daytona675 closed 1 year ago

daytona675 commented 1 year ago

Hi Jacob, i would like to know how to manage all socket errors. When you try to send doip packets to an IP doesn't exist or is not available or ... How to test that the destination is available before sending DoIP/UDS packet ? BR.

jacobschaer commented 1 year ago

That's best handled by ICMP and tools outside of doip. Theres a feature request to implement vehicle identification request over broadcast which may help.

daytona675 commented 1 year ago

Thanks a lot for your answer. That’s clear now K.R