I am trying use one code for transfer some data from my C++ dll to my server(website) and return response from server to dll again.
For example i send one serial number to server and server return another confirmation number to my dll.
I am using below code and I can read data from my server by BOOL bRead = InternetReadFile(webResult, szwebBuffer, dwBytes, &dwBytesActual);
i want know how I can send data to my server?
Which function I can use?
Thank you for your response.
I want send one number to my server.
So I can send that by this: HINTERNET InternetOpenUrl(
__in HINTERNET hInternet,
__in LPCTSTR lpszUrl,
__in LPCTSTR lpszHeaders,
__in DWORD dwHeadersLength,
__in DWORD dwFlags,
__in DWORD_PTR dwContext
and using this LPCTSTR lpszHeaders, for sending my number?