I have a streamsocket that needs to listen for incoming messages from a server. Upon receiving a certain message, say X, it needs to trigger an event. Is there any way to create an event listener on an incoming socket stream? This is being done
in C# for a metro app.