Wednesday, March 9, 2016

Day 60: Super Day Off

Almost had a full day off! Almost! I found it more important to work on UDP clients first.

I mainly had the issue with the sample code that I found being a synchronous blocking call instead of the asynchronous behavior I seek. Luckily enough, there's this thing called an AsyncCallback that allows me to send in a function (even if it's not static! Hooray!) to be called asynchronously. That way, it will block the thread but not the whole data.

In that case, whenever I send a message, it receives it on spot! The problem is, the system I'm working with uses a python file to send data. Oddly enough, it does not get received. Am I doing something wrong? Does the UDisplay.exe file hog the data? I'll have to investigate. Perhaps I can recompile the python files?

No comments:

Post a Comment