Programming over Socket works!

Man did I think of sockets incorrectly.

Initially I tried to handle all the server listening and data reading
within a thread, unfortunately that lead to a lot of issues. Threads
would not shut down correctly and/or sockets would wouldn't shutdown.
I then tried using the QSocketNotify but unfortunately that didn't fire
off a response when a connection occured.

I then tried to put a blocking 'accept' statement inside the thread and
it sort of worked accept there was a problem of starting the thread
again,.

So finally I wrote another threading application that used select to
alert me when a user attempted to connect. Then I just accepted the
connection, read all the data and, hung up and then went back to
listening for accept.

I think the thing I learned from this whole endeavor is that I should
keep sockets open. I should just do what I need with them and then close
them.