471,093 Members | 2,213 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,093 software developers and data experts.

How to write client-Server programming using Web request and web response

How to write client-Server programming using Web request and web
response.I want to send
a request to server by giving url and my server will pick up that url
and will give a response to client .Please give cooding.

Aug 21 '06 #1
1 1568
Please give cooding.

Well, that depends on how you want to do it! At the server, for
instance, coding an ASP.NET web-service (asmx) will be very different
to coding an ASP.NET handler (ashx). Alternatively, you could code
outside of ASP.NET using HttpListener, or you could start from scratch
using sockets.

The client is a little easier; main options are WebClient and
HttpWebRequest; both have methods to make requests to the server and
read the response; WebClient is a little easier to use; HttpWebRequest
is more versatile.

Marc

Aug 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Wayne's World | last post: by
6 posts views Thread by Harlin | last post: by
18 posts views Thread by reclusive monkey | last post: by
1 post views Thread by Camel | last post: by
13 posts views Thread by Scott | last post: by
12 posts views Thread by Dica | last post: by
1 post views Thread by alcool | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.