• Post Reply Bookmark Topic Watch Topic
  • New Topic

How Can Build A Connetion Between Server And Client With HTTP?  RSS feed

 
Richard Yi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Busyness logic and DB have been done. The remainder simple task is write an application client that building a connetion to server and deliver the parameter(e.g String) with this connection.
However, the server just can accept HTTP request, but not socket. My question is: how can build HTTP connetion and deliver the parameter? Very appreciate if you can provide some codes in details.
Thank you!
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The easiest way could be to do something like:
 
Richard Yi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
En~~~~~,Lasse Koskela, Would you pls give some comments? I think your code seem to how to read info from client, but not how to send info to server.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!