PHP怎么与C语言通信
hb怎么与C语言通信?用C语言作为服务端,用php作为客户端。方法如下:/*server.c*/
#include <string.h>
#include <stdio.h>
#include <netinet/in.h>
#include <stdlib.h>#define SERV_PORT 8000int main()
{
int sockfd,n,servaddr_len,client_l
转载
2015-11-02 21:04:02 ·
3340 阅读 ·
0 评论