Ape / samsungctl

Remote control Samsung televisions via a TCP/IP connection
MIT License
713 stars 191 forks source link

Handle connection issues properly #4

Closed Ape closed 8 years ago

Ape commented 10 years ago

Show proper error messages if the connection cannot be established.

Some cases:

Ape commented 10 years ago

Also the case when recv returns 0 bytes, i.e. connection closed.