homeworkc / lazycast

A Simple Wireless Display Receiver
GNU General Public License v3.0
689 stars 89 forks source link

addr reuse & socket connection abnormal #9

Closed xiaoyu-ebox closed 5 years ago

xiaoyu-ebox commented 5 years ago

1.fixed the problem of add reuse 2.fixed the problem of abnormal exit of socket connection 3.adjust log print

xiaoyu-ebox commented 5 years ago

According to my test, after adding socket exception handling, the PIN number is not affected for 2 minutes.

homeworkc commented 5 years ago

Why do we need to reuse idrsock? Isn't it the case where player 1 and player 2 get another port to connect to this port?

xiaoyu-ebox commented 5 years ago

because when d2. Py crashes due to an abnormal condition or normally quits, reboot all.sh immediately, and reuse addr will appear if the phone is also connected immediately.

homeworkc commented 5 years ago

Oh I see. That makes sense.

xiaoyu-ebox commented 5 years ago

Thank you. I am very interested in this project.