I'm playing with async TCP to communicate between two applications. I'm having a heck of a time trying to figure out how actually be able to use TCP messages. Using an async callback I can receive messages but since the method is static I can't access it or call non static methods from it - so the messages may as well not exist. Non async methods either block (so the GUI is frozen) or chew up ALL cpu time looping.
Can anyone point me at some examples that let me access the messages without blocking or freezing the main program?
Can anyone point me at some examples that let me access the messages without blocking or freezing the main program?