RCF for Windows without sockets
Posted: Fri Jul 26, 2013 3:15 pm
Hi,
I’m trying to implement an RCF client in Metro/Windows Store application.
The related application certification process prohibits the use of windows sockets, so I may not link ws2_32.lib and mswsock.lib at least.
...................personal environmental explanations, can be skipped..............
I had to implement my own transport and use (one of the) approved by Metro (IXMLHTTPRequest2) interface instead of TcpClientTransport/BsdClientTransport.
So my RCF regular/desktop server operates via HttpEndpoint, but the RCF client transfers all the data via my (say so) MetroHttpEndpoint without the use of HttpFrameFilter.cpp as all the required http related client wrapping is made by the native Metro API.
After a week it started working finally, but the question is
..............end of the explanations........................
How to build RCF without ws2_32.lib/mswsock.lib linkage?
In other words, how to get rid of any WSA…/socket calls in the entire text. As any of the calls requires prohibited (by Windows Store) ws2_32.lib/mswsock.lib linkage.
I believe, in the source there is a couple of #define-s that I could use. Otherwise I would need to find and "comment out" all the WSA/socket calls manually.
I see the question is extraordinary enough....
Any ideas would be very helpful.
Thank you,
Konstantin
PS By the way, initially I thought the process would take a lot of time, but due to the perfect RCF class hierarchy the process went relatively smoothly. Great product!
I’m trying to implement an RCF client in Metro/Windows Store application.
The related application certification process prohibits the use of windows sockets, so I may not link ws2_32.lib and mswsock.lib at least.
...................personal environmental explanations, can be skipped..............
I had to implement my own transport and use (one of the) approved by Metro (IXMLHTTPRequest2) interface instead of TcpClientTransport/BsdClientTransport.
So my RCF regular/desktop server operates via HttpEndpoint, but the RCF client transfers all the data via my (say so) MetroHttpEndpoint without the use of HttpFrameFilter.cpp as all the required http related client wrapping is made by the native Metro API.
After a week it started working finally, but the question is
..............end of the explanations........................
How to build RCF without ws2_32.lib/mswsock.lib linkage?
In other words, how to get rid of any WSA…/socket calls in the entire text. As any of the calls requires prohibited (by Windows Store) ws2_32.lib/mswsock.lib linkage.
I believe, in the source there is a couple of #define-s that I could use. Otherwise I would need to find and "comment out" all the WSA/socket calls manually.
I see the question is extraordinary enough....
Any ideas would be very helpful.
Thank you,
Konstantin
PS By the way, initially I thought the process would take a lot of time, but due to the perfect RCF class hierarchy the process went relatively smoothly. Great product!