kivy / oscpy

An efficient OSC implementation compatible with python2.7 and 3.5+
MIT License
109 stars 27 forks source link

No route to host results in crash #57

Closed rasmuskreiner closed 3 years ago

rasmuskreiner commented 4 years ago

Describe the bug oscpy chrashes when sent to a recipient not available on the network.

To Reproduce Produced by sending a message to a recipient not available on the network. Logs/output File "/usr/local/lib/python3.8/site-packages/oscpy/client.py", line 136, in send_message stats = send_message( File "/usr/local/lib/python3.8/site-packages/oscpy/client.py", line 68, in send_message sock.sendto(message, address) OSError: [Errno 65] No route to host

Platform (please complete the following information):

tshirtman commented 3 years ago

What do you think would be a more appropriate behavior?