]> source.dussan.org Git - tigervnc.git/commit
Consistently use SocketException for socket errors
authorPierre Ossman <ossman@cendio.se>
Tue, 10 Sep 2024 14:57:24 +0000 (16:57 +0200)
committerPierre Ossman <ossman@cendio.se>
Wed, 9 Oct 2024 11:37:08 +0000 (13:37 +0200)
commit56b3460aa318b650f12833ba119fa6decb930148
tree5f0e4dea4d3b4130b63179a86cf2a4257cf3a33a
parent6029d50080bb795524d6cefe8d6b4b9b88475bdd
Consistently use SocketException for socket errors

The behaviour is not consistent as Windows doesn't use errno for socket
errors, but Unix systems do. Always use the same exception to keep
things somewhat sane.
common/rdr/FdInStream.cxx
common/rdr/FdOutStream.cxx
common/rdr/TLSInStream.cxx
common/rdr/TLSOutStream.cxx
unix/tx/TXDialog.h
unix/vncconfig/vncconfig.cxx
unix/x0vncserver/x0vncserver.cxx
vncviewer/vncviewer.cxx
win/rfb_win32/SocketManager.cxx