058ee33be3
* The current return values have been selected pretty much without any thought. Basically, the value 1 is used for all different kinds of errors, except for a corner case where the server doesn't send a RDP_PDU_DEACTIVATE in combination with a few special "reasons", where the value 2 is used instead. * rdesktop will currently also return with 2 if the user is closing the rdesktop window, the same error as many other fatal errors, which is somewhat strange. * The main principle of my patch is to utilize more of the available 256 return codes. We are currently only using 3 values out of 256. This is bad; rdesktop should expose more information to the caller about error conditions if it can. Besides using the standardized exit codes for generic errors such as EX_USAGE for command line usage errors, I've also exposed the "extended disconnect reasons" from RDP. This allows for, for example, to be able to distinguish between a logoff and a disconnect. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1510 423420c4-83ab-492f-b58f-81f9feb106b5 |
||
---|---|---|
.. | ||
AUTHORS | ||
ChangeLog | ||
HACKING | ||
ipv6.txt | ||
keymap-names.txt | ||
keymapping.txt | ||
keynums.png | ||
licensing.txt | ||
lspci-channel.txt | ||
patches.txt | ||
rdesktop.1 | ||
rdpsnd-rec.txt | ||
rdpsnd.txt | ||
redirection.txt | ||
seamlessrdp-channel.txt | ||
TODO |