winsock.h AND winsock2.h Together?
I have an api that wants to use winsock[1] and another that wants to use winsock2. When I try to build one combined app based upon these 2 different api's, I get redefinition errors. Is it possible to use winsock[1] (winsock.h) and winsock2 (winsock2.h) together in the same executable?
Or should I build two apps; one under winsock[1] and the other under winsock2 and have them communicate via pipes (or sockets)? I have no programmatic pipe experience, but this seems like a possible solution.
app1/api1 is basically a server to 3rd party services
app2/api2 is basically a server to the user interface
3rd party services <=> app1 <=> pipes (or sockets) <=> app2 <=> users
I thought I could have
3rd party services <=> app <=> users
but I am having trouble building "app" due to redefinition errors.