Your example looks ok. But why are you running the program inside a VM when the MonoBrick communication library works on Windows, Linux and Mac? When you run inside a VM a lot of things can happen with Network traffic – your host machine has different network settings that the OS running in the VM – this might give your problems like UDP traffic being blocked… Furthermore I need to understand the following:
The ev3 brick is connected to wifi
That is good and you are all set to go..
…and I have established a tcp/ip connection with the brick.
What do you mean by this? How did you do that? The reason I am asking is that you don’t need to do anything other that connecting the brick to your WiFi network and then use MonoBrick communication library to connect to the brick…. but again try not to run the example inside a VM.
Hope to hear from you soon…