Teacher of a project, the requirement when certain conditions PC will send message to mobile phone, PC and mobile phones to communicate simplex, programming language is used c + +, now is mainly about the communication problem, because itself is civil professional, programming ability is limited, only use c and c + +, no ideas, have a great god can provide the train of thought? How to use c + + programming to implement the computer and cell phone side communication, approach is best can easier,
CodePudding user response:
1, one end own programming for the service side, for the client
2, using a third-party server, computers and mobile phones are the client,
CodePudding user response:
Use socket, may be simple, can baidu socket
CodePudding user response:
1. The computer - & gt; Forward center server - & gt; Mobile phone such as using the web HTTP polling,
2. Computer - & gt; The socket - & gt; Mobile phone best under the same router, offline, since can even,