![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
2424988205
qq_2424988205
展开
-
如何在linux系统中设置静态ip地址
在终端中输入:vi /etc/sysconfig/network-scripts/ifcfg-eth0重启网络服务:service network restart或/etc/init.d/network restart 就可以了原创 2016-05-29 17:34:37 · 414 阅读 · 0 评论 -
Linux网络编程之网络编程基础服务端
写出模板,等待填充原创 2017-08-03 20:32:27 · 181 阅读 · 0 评论 -
Linux网络编程之accept函数
名称 accept, accept4 - 在套接字上接受连接 概要 #include <sys/types.h> /* See NOTES */ #include <sys/socket.h> int accept(int sockfd, struct sockaddr *addr, socklen_t *addrlen); #define _G翻译 2017-08-03 20:57:33 · 1430 阅读 · 0 评论 -
Linux网络编程之socket函数
名字 socket - 创建一个通信管道 概要 #include <sys/types.h> /* See NOTES */ #include <sys/socket.h> int socket(int domain, int type, int protocol); 描述 socket()创建一个通信端点并返回一个描述符。翻译 2017-08-03 20:49:16 · 256 阅读 · 0 评论 -
Linux网络编程之bind函数
BIND(2)—–Linux 程序员手册——-BIND(2) 名称 bind - 绑定以个端口 基本介绍 #include <sys/types.h> /* See NOTES */ #include <sys/socket.h> int bind(int sockfd, const st翻译 2017-08-03 20:33:39 · 4559 阅读 · 0 评论 -
kali2016.1更新源和VM toos工具
VM tools使用此命令 cat << EOF > /etc/apt/sources.list deb http://http.kali.org/kali kali-rolling main non-free contrib EOF apt-get update apt-get install open-vm-tools-desktop fuse r>eboot原创 2017-04-03 19:38:22 · 274 阅读 · 0 评论 -
kali2016.1更新源和VM toos工具
使用此命令原创 2016-06-20 13:13:58 · 2500 阅读 · 0 评论 -
改linux Ubuntu 系统名字
vi /etc/hostnsme执行改命令原创 2016-10-20 15:28:54 · 395 阅读 · 0 评论 -
centos中QT报错/usr/bin/ld: error: cannot find -lGL
报错内容cannot find -lGL collect2:error:ld returned 1 exit status解决方式yum install mesa-libGL-devel mesa-libGLU-devel yum install freeglut-devel原创 2016-06-10 12:50:35 · 1088 阅读 · 0 评论 -
Linux网络编程之网络编程基础客户端
#include <stdio.h>#include <unistd.h>#include <sys/types.h>#include <sys/socket.h>#include <string.h>#include <arpa/inet.h>#define SERV_PORT 8000int main(int argc, char *argv[]){ int sfd, len原创 2017-08-03 21:02:53 · 266 阅读 · 0 评论