Hi,
I guess I understood what was the issue with the binding socket I had.
(see my previous message “Error binding socket”)
I have installed a WSL Linux (Debian) Shell app on Windows10
to try to see if I can avoid to install a Linux VM on my laptop.
So actually I succeeded to compiled EPICS and run it,
with the native Debian GNU Linux compiler ( 8.3.0).
As it should be, the OS macro is defined as __linux__ not as _WIN32,
since the compiler is NOT MinGW or CYGWIN, but GNU as I said before.
So, then it comes issue I had was this UDP socket biding issue,
since binding is still handled a la Windows.
So the problem is in the source file blockingUDPTransport.cpp
where the macro _WIN32 is not used consistently in my case.
I tested to commented/uncommented the relevant code by the macro and indeed
It works as expected (no more bind socket error)
However I would like to know the opinion of the code developers (Marty Kraimer?)
and also if it would be possible to modify this file in a way
to include the option to use Windows way to handle UDP socket even if is a GNU compiler
(some ad-hoc env variable?)
Thanks
Alfio
PhD Alfio Rizzo
Control System Integrator
Integrated Control Systems Division
European Spallation Source ERIC
Telephone: +46(0)721792342
Mail Address: P.O Box 176, SE 221 00 Lund, Sweden
Visiting address: Odarslövsvägen 113, Lund
https://europeanspallationsource.se/