how to implement server push (push technology) either http or windows sockets [closed]

General Tech Technology & Software 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Technology & Software related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

The question and description has been edited to make the user understand well what i am trying to ask after getting 4 -votes.

I have a vps(Virtual dedicated server).

I have a desktop application in which i want notifications from the vps webserver.

i can write both c and php as a server side script if needed.

I thought server push mechanism would do that?

So what should i do?

i read that long opened connections and keep alive will be a load to the server

i know c, win32 api, php, winsock and php sockets.

is it just the programming technique pushing information which is called push technology?

i had been reading a lot of explanations in the internet but non had a wireframe kind of explanation and i dont know which libraries in c,php would do that...

what i am assuming with push technology is it is just a mechanism using the existing libraries (sockets) in any programming language if available (win32api, php) to get instant notification from a remote location.

profilepic.png
manpreet 2 years ago

If you don't want to use open connections, you have two choices:

1) Either you have a client application on your computer that frequently checks the server for new notifications

2) You create a little notification server (like a little node.js webserver or something) which is running on your desktop. Then you have a client application on the server which connects to your desktop whenever there is a notification


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.