I've been working with an older programmer who's coding an IVR solution. It's running on Windows 2000 and is connected to a T1 (we have internet access) through the machine his code is running on.

I've been trying to get him to request information from our main web server via http post and he doesn't know how to create a http post through C or C++.

He's been wanting to create an object that would run on both of our servers and would listen into TCPIP for a request and save stuff to the folder and bla bla bla bla. I understand what he's trying to do but it would be so much easier to do it via an http request.

Anyone have an idea where I could find something for him to use?

Thank you soooo much for the help :)

Ado

You need to create a network socket with which you can send packets over the TCP/IP protocol. The plain-old method is to use the C functions; for a good guide head over to Beej:
http://beej.us/guide/bgnet/

An easier method, however, is to use a prebuilt wrapper library. One such library is libcurl.

I've been working with an older programmer who's coding an IVR solution. It's running on Windows 2000 and is connected to a T1 (we have internet access) through the machine his code is running on.

I've been trying to get him to request information from our main web server via http post and he doesn't know how to create a http post through C or C++.

He's been wanting to create an object that would run on both of our servers and would listen into TCPIP for a request and save stuff to the folder and bla bla bla bla. I understand what he's trying to do but it would be so much easier to do it via an http request.

Anyone have an idea where I could find something for him to use?

Thank you soooo much for the help :)

Ado

Check this out and it might answer solve some or all of you problems http://msdn2.microsoft.com/en-gb/library/h0ys453x(VS.71).aspx

Socket programming with WSA (Winsock API) or Winsock 2, aka socket programming, is good though so I'd suggest, as joeprogrammer has, you learn that as well. :)

Good luck, LamaBot

This article has been dead for over six months. Start a new discussion instead.