cancel
Showing results for 
Search instead for 
Did you mean: 

Can I get a socket communication example that I can use in the TouchGFX simulator?

SKim.27
Associate

I'm working with touchgfx using C++ in Visual Studio 19 and I'm trying to configure the simulator environment. I would like to write an additional command program to configure the touchgfx simulator and simulation environment. However, the conflict between Winsock2.h and windows.h kept happening while enforcing socket communication. I tried to find and apply a solution, but to no avail. For example #define WIN32_LEAN_AND_MEAN, #define _WINSOCKAPI_ was written before #define windows.h but failed. I also tried changing the order of #include <windows.h> and #include <winsock2.h> , but it failed.

So, if there is an example code that works normally, I would like to refer to it.

Please help me

Thanks

0 REPLIES 0