473,382 Members | 1,238 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,382 software developers and data experts.

send data from server to all clients

Shenno
59
hiz, is there a way to send data from php server to all clients ?

i read about websockets and waterspout, but i need full implementation to this plz..

i got a dedicated linux server with root account..

thanks in advance
Apr 12 '12 #1
4 4665
johny10151981
1,059 1GB
The question is not clear a lot of thing, but you asked in PHP forum. So I would guess that you are talking about HTTP server.

Here is one thing about HTTP server. It never knock any client. It only response to client.

But yet, can you send data to all client?
There is way. A simple idea would be create a and then push last notice to that table. and all client would have to have the capability to send dynamic request to http server in an interval. Client can send the last id(that she has) to http server. Server would reply if there any newer than the received id. you can also invoke the relation with logged in user.
Apr 13 '12 #2
Shenno
59
no at all, there are many things u missed, i think u need to check this power point, which will help u so much.
http://www.ormanschools.com/shenno/liveconnection.ppt

there are short pooling, long pooling and websockets.

what i need is websockets implementation techniques.
Apr 13 '12 #3
johny10151981
1,059 1GB
read page 6 carefully and compare with my reply again please.

The web runs (for the most part) on HTTP
HTTP is one way
User asks for data
Server sends data back
The server can't do anything without the user asking first


I didn't miss them.

Another suggestion, dont get twisted with the fancy words
Apr 13 '12 #4
Shenno
59
did u read websockets on ppt ? it's new 2010 technology.

here is a chat app with websockets where server sends data to all client.

http://www.flynsarmy.com/2012/02/php...plication-2-0/

the problem is that app. didn't work over network, only local !!
Apr 13 '12 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Kurien Baker Fenn | last post by:
How to send data from an ASP form to a visual basic form? Please help
2
by: SWJust | last post by:
Hi... is it possible to send data from a socket to at physical address (MAC) on f.x another PC or Router ??? I have a IP header with information about another client, and this cannot be altered,...
2
by: Fatih BOY | last post by:
Hi, I want to send a report from a windows application to a web page like 'report.asp' Currently i can send it via post method with a context like local=En&Username=fatih&UserId=45&Firm=none...
0
by: Gregory Hassett | last post by:
Hello, I want to periodically send a TCP packet to a peer, always from the same source port. That is, each packet will come from my local ip address, port 8801, and go to the peer's ip address,...
1
by: zPaul | last post by:
Maybe, I am asking to wrong group but, here is what I need to do. If you can direct to right direction, I will appreciated it. I will have a web site that the user will interact. Every once in a...
4
by: batista | last post by:
Hello All, my prob. is that i have a web server, and i want it to send fresh data,whenver it is available(from sum other source), to a webpage. Now i used refresh, but i want to use an...
2
by: Rich | last post by:
Is there a way to inform all users concurrently using same web application when one user has made changes to data? Remote scripting has that ability to send data to client but can't be done...
5
by: trig | last post by:
Please help! I am an ICT teacher at a secondary school and my year 12 (AS Level) group need to create a website where data can be sent from a form to a Microsoft Access database. I am trying...
1
by: krndhi1983 | last post by:
Hi to All, I am using Windows XP running IIS 6.0.I am developing a project using vb.net 1.1 with SQL Server 2000.It is a mobile project.So i am also using Pocket PC 2002 with SQL CE 2.0.When...
2
by: ajaxcoder | last post by:
Hi In my project i had a login form and i am trying to send the username and password to the server for authentication using xmlHttpRequest. Hence i am using POST request but i am unable to send...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.