Ugh, ugh and uuuugh again. I made some steps forward with the messaging assignment in realizing that locking a connection stops both reading and writing (thus causing deadly deadlock), so I finally got messages sent back and forth! Success!
Or not. Apparently I also have to start/stop connections using the UI and proper setting of IP/ports. It works alright until the Stop is called on the server (which sends a message to stop the clients) and the client stops, in which a thread hangs and the UI cannot wait before setting up new tasks.
I'm just flat out tired of this assignment, but I shall persist. And produce documentation for tonight...
No comments:
Post a Comment