Computer Science, asked by gaganadithyareddy9, 6 months ago

How to receive messages from python socket programming even when the code is not running?? Is it possible??? Example: You receive messages from WhatsApp even when it is not running in your phone!!

Answers

Answered by s04011sriram
0

Explanation:

Python Socket Programming

To understand python socket programming, we need to know about three interesting topics – Socket Server, Socket Client and Socket.

So, what is a server? Well, a server is a software that waits for client requests and serves or processes them accordingly.

On the other hand, a client is requester of this service. A client program request for some resources to the server and server responds to that request.

Socket is the endpoint of a bidirectional communications channel between server and client. Sockets may communicate within a process, between processes on the same machine, or between processes on different machines. For any communication with a remote program, we have to connect through a socket port.

The main objective of this socket programming tutorial is to get introduce you how socket server and client communicate with each other. You will also learn how to write python socket server program.

Answered by testdummyhere1212
0

Answer:

It's not possible, the program has to be running.

Explanation:

Whatsapp is still running on your phone in the background, it just doesn't provide any output to the screen directly, it's just interfacing with the notification  protocol. Whatsapp's programming actively checks servers for  message updates. If a app or software produces any kind of output, it is most definitly running even if it's just a wait/listen/check function.

Similar questions