摘要:
arm-none-linux-gnueabi-gcc -o tcp_service tcp_service.c 由于使用的是交叉编译环境,生成的目标代码是用于arm开发板,故在x86电脑上无法使用。 阅读全文
摘要:
vi编辑器,命令行模式输入wq命令无法保存文件? E212: Can't open file for writing 原因是权限不够,需要转换成超级用户 sudo su。 编辑出现行号:set nu 取消行号:set nonu 阅读全文
摘要:
#include <netdb.h>#include <sys/socket.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <memory.h>#include <unistd.h>int main(int ar 阅读全文
摘要:
#include<netdb.h>#include<sys/socket.h>#include<unistd.h>#include<string.h>#include<stdio.h>#include<stdlib.h>#include<memory.h>#include<signal.h>#inc 阅读全文