luigix25 / SSLP

A secure way to transfer files between two peers, using certificates
5 stars 1 forks source link

Check if read fails while reading #22

Closed luigix25 closed 5 years ago

luigix25 commented 5 years ago

Check the example here: http://www.cplusplus.com/reference/istream/basic_istream/read/

Suffredini commented 5 years ago

Solved by intercepting the error situation and signaling it as a function return