473,396 Members | 1,871 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 1658
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Wayne's World | last post by:
hi everyone, i have a big problem, writing a image from my applet to my apache webserver. i tried three way's of writing that file. every way was described in forums to solve this problem, but...
6
by: Harlin | last post by:
Is there a way to write a ping client? I would like to be able to write a small ping client so that I dont have to do os.system('ping args') and thereby keep the resource overhead low. Does anyone...
18
by: reclusive monkey | last post by:
Firstly is this possible?! I've been playing around with XML for various things, and it would be very helpful if I could manage to write to an XML file with no server-side work. The reason for...
1
by: cmjman | last post by:
I have an issue where networkStream.Write doesn't perform its write downstream from my client program until the network stream is closed. I then see the data that was sent appear on the other side....
1
by: Camel | last post by:
Hello All, I need to write a https client for downloading secure pages. I implemented a http client but have no idea about https. Can anyone help me? Thank you in advance.
13
by: Scott | last post by:
if i create a cookie named myCompany and store several values like userLast and userFirst and then later want to add a new name-pair such as userPreference1, can i append the new name-pair without...
12
by: Dica | last post by:
i'm working on an installation package that needs to write to an existing folder on the user's system, but keep getting an error message about write perms denied. i can't really ask the person...
0
by: mzmishra | last post by:
Hi, I want to write a client program to retrieve published documents from SharePoint site and store on the users machine. Can some body help me on this
1
by: alcool | last post by:
Hi, I would like use a socket for write a file jpeg on the network. In others words, it is possible to publish a jpeg (like a streamer) that a client can fetch and view? file JPEG -socket that...
27
by: duli | last post by:
Hi: I would like recommendations for books (in any language, not necessarily C++, C, python) which have walkthroughs for developing a big software project ? So starting from inception, problem...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.