472,353 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Flash XMLSocket class to ASP.NET? Am I crazy?

I want to put a live connection in a web page to periodically updated
data. When the data changes, the server notifys the client and gives
the new data. The client does not regularly refresh the page. The
client responds to server-side events only. The screen display changes
without any user interaction.

An application like this might be a chat, stock ticker, or data
inventory.

Sofar as I can tell nothing in the .NET framework can do this. The only
things that can do this are Java Applets and Macromedia Flash. Nobody
does Java Applets anymore, and Flash players are pretty widespread.

Flash has an XMLSocket class:
http://www.devshed.com/c/a/Flash/XML-Sockets-in-Flash/
that seems like it might do the job. It can maintain a persistent
socket connection. I could make a little Flash DataGrid.

Of course I'd have to write something on the IIS and ASP.NET side to do
the same thing. This is one thing I know that might be perilous,
getting Macromedia to talk to Microsoft. But maybe this XML stuff will
make it all work.

Another lingering question is how many socket connections can a joe
average server handle, or what's the limit? Are socket connections
practical for 10, 100, or 1000 clients?

Am I crazy to attempt this connection?

Thanks for your help.

Bruce
Nov 18 '05 #1
1 4520
"Bruce W.1" <no@direct.email> wrote in news:40***************@direct.email:
I want to put a live connection in a web page to periodically updated
data. When the data changes, the server notifys the client and gives
the new data. The client does not regularly refresh the page. The
client responds to server-side events only. The screen display changes
without any user interaction.


HTTP is pull only - you CANNOT push unless:

a) you open a socket, which in most cases permissions and firewalls will stop
you.

b) you keep the HTTP connection "stuck" and feed down data but this fights
with proxies and has other issues.

--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
ELKNews - Get your free copy at http://www.atozedsoftware.com

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Shawn | last post by:
I have an XML Socket Server running and I can easily get Flash to send from flash-to-xmlsocket-then-back-to-flash and vice-versa But what I want is...
10
by: Scott | last post by:
I have written an Access application that our employees use on a daily basis to enter information. It's comprises of a series of forms, a few...
2
by: John | last post by:
Hi! I am creating a webservice that needs to communicate with the Flash component. I am creating the Flash component myself so can add any type...
0
by: doc | last post by:
Hi Hard to know where to post this and I don't want to double post it - please move it if you need to, I am trying to connect a Flash client...
3
by: doc | last post by:
What will a flash xml client socket connect to? I have a working php TCP/IP server socket bound to a port >1023 and the flash client will not...
3
by: bdbeames | last post by:
I have a menu on the right side of my page and a flash object in the center. When a certain option in the menu is select a sub menu pops and floats...
0
by: dolittle | last post by:
Hi, I'm embedding a last.fm flash widget. I want to be able to remove it from the page using javascript. I've tried to delete the html...
1
by: Pradip Caulagi | last post by:
Hello! I have the following scenario. When the html page is loaded, it creates an XMLSocket and sends some data over the socket to the server. ...
1
by: dosingh | last post by:
i've put this page together using asp, html, javascript amd flash. java passes a number of variables over to the flash file but the flash graph...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

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.