Click here to Skip to main content
15,889,825 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Everyone,

i am trying to send data from client to server side for a particular page.
for ex: http://192.0.0.15:8021/rbx.ashx
192.0.0.15 ->ip address
8021->port number
rbx.ashx->sever side data is present in this page
C#
I am able to create a socket connection in the above given ip.
but i need to post data to a ashx page/service, I am unable to do that.


What I have tried:

for sending client to server using windows socket programming
Posted
Updated 17-Oct-16 23:29pm
v3
Comments
F-ES Sitecore 18-Oct-16 5:08am    
Google "c++ socket programming" and you'll find plenty of examples. Please do basic research before asking a question.
I.P.Katti 18-Oct-16 5:22am    
thanks for suggestion.i need to post data to a ashx page/service, I am unable to do that
F-ES Sitecore 18-Oct-16 5:48am    
There is nothing magical about an http request, it's standard sockets code only the text you send has to be in a specific format. Google "c++ sockets http request" and you'll find examples. In case you're not quite getting it yet...what you're doing is common and well documented so always google first, then ask questions about specific problems with specific code.
I.P.Katti 19-Oct-16 1:41am    
ok thank you

1 solution

 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900