Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello,
What I mean that a web client recieve data from another web client through a web server which has a page will display the data at the time as the data sent.
so how can I program this web server to get my target.
and Thanks a lot.
Posted

i think you should use ajax call i.e ajax for getting data form the another web server this will work for you easily.
 
Share this answer
 
You dont program your web server to find / get to the client - you program the other way round. Create a client, point it to the web server (web services / database connection / socket, whatever) and then fetch data from the server.

In your scenario, you might consider a duplex service as an option.
 
Share this answer
 
v2
wrote:

there is a client(sender of information)and another client (receiver) actually I want to send sinosoidal signal from sender to receiver at the real time( at the time the sender begin transmission) without stocking this signal and send it again. therefore I have used the Netscape Navigator that takes a snapshot every 0.1s from the source and display the image at the receiver. so I think I need a server does that relation between the two client's. (Like server MSN but that time I want to send an image ) .


You have to use Ajax / Javascript remote scripting for sending and receiving data from the clients. But the server wont be able to keep any open connection which can send data as it comes in with your receiver client. Instead your receiver client has to ping the server in frequent interval and check for any available data.
 
Share this answer
 
v2
thanks everyone, I am going to try something you advised me :confused:
wish me good luck :)
 
Share this answer
 

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