Hi!
This articles shows one way for a MFC/Windows application to talk to a webserver using HTTP protocol:
Making HTTP Communication from MFC/Windows Application[
^]
Here an example demonstrates how to connect web service and send a GET request:
http://www.codeforge.com/read/1713/httpresp.c__html[
^]
An other example demonstrates how the Chilkat socket object can become a "socket set" that contains other connected socket objects, and this can be used to "select" on multiple sockets for reading. The SelectForReading method waits until one or more sockets in the set have incoming data ready and available to read.
http://www.example-code.com/vcpp/socket_select.asp[
^]
The following program example demonstrates how to write a simple client that can connect to the server application:
http://www.installsetupconfig.com/win32programming/windowsocketwinsock214_9.html[
^]
The aim of this C++ tutorial is to demonstrate simple client/server socket communication and multi-threading on Windows. This demonstrates basics such as binding, listening and accepting sockets for Servers and connecting sockets for clients. Once the server accepts a socket, a thread is spawned to handle it. This is the simplest Windows C++ socket (blocking) example you can find. Please leave any comments or questions at the end of this tutorial and I will endeavour to answer them.
http://www.tidytutorials.com/2009/12/c-winsock-example-using-client-server.html[
^]
Hope this helps you :)