Home > Back-end >  To realize c under Linux server with PHP client communication
To realize c under Linux server with PHP client communication

Time:09-18

Project requirement under Linux, web content and the server can communicate, I want to be written in c + + server,
Excuse me,, how should I ah,,,, my little white students,,,
Before written under Windows server and client communication, TCP protocol, socket programming, but don't know anything about the web,,,,

CodePudding user response:

With HTTP parameter data, baidu relevant c + + library

CodePudding user response:

Don't know should use websGetVar function,

CodePudding user response:


Demand is very fuzzy,
In c + + write a web server?
I've written, no more than parsing the HTTP protocol,
Bug, handwritten, constantly testing found bugs, and improved,
Java feel better, use okHttp open source, used in the android, simple happiness,

The PHP client communication???
It's trouble, but also the parse PHP code, but seemingly open source PHP parser, can be directly embedded to the c + +. The code if you meet some don't know how to use PHP components,,

CodePudding user response:

Web content and server communication, websocket?

CodePudding user response:

Many mature HTTP open source c + + library online, such as evpp, used for a period of time, started feeling should not big difficulty,






-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- a delicate small tail -- -- --
https://bbs.gnsoft.ltd
-------------------------
  • Related