* The context structure for the crash handler thread needs to be aligned
to at least 8 bytes.
* In my cases, the entry at the bottom of my stack always has a
back-chain value of 0x1. Of course, this address is not likely to be
part of the stack, so this should be considered to be the end of the
stack.
* During ISI exceptions, only a stack trace is printed, and during DSI,
disassembly and stack information is printed. For some unknown reason, I
never see register dumps.
* The stream will stay open until either an error occurs,
WHBCommandServerStop is called, or a null string is returned (the client
socket had been closed).
* The header file now includes wut.h, so that BOOL is defined.
* This server will listen for connections, and then listen on that
connection stream for, well, text. It will then close the connection and
send the string back to the main program.
* I did this mainly to remove some build warnings that were showing up
in cppformat v2 underneath clang (the default macOS compiler)
* At this point, WUT will build on macOS with no warnings whatsoever.
* This manager counts how many times the program has requested the
socket library be initialized, so that the socket library is not
mistakenly closed while other things are still using sockets.
* WHBInitializeSocketLibrary will call socket_lib_init() and also keep a
count on how many times it has been called.
* WHBDeinitializeSocketLibrary will call socket_lib_finish(), but only
if it has been called as many times as WHBInitializeSocketLibrary.
* WHBRemoveLogHandler will look through the "registry" of logging
functions, and will set the entry to NULL if it matches what the user
passes.
* WHBLogUdpDeinit will correctly close the socket and shut down the
socket library in addition to removing its entry in the registry.
* WHBLogPrint and WHBLogPrint have been renamed to WHBLogWrite and
WHBLogWrite respectively.
* WHBLogPrint and WHBLogPrintf have been re-implemented to automatically
add a new line to the end of the string, and then send the string to
WHBLogWrite.