SOCKET_PRGM--线程互斥版本

/*tcp:client端*/ #include <stdio.h> #include <stdlib.h> #include <string.h> #includ…

SOCKET_PRGM--无线程版本

/* File Name: client.c */ #include<stdio.h> #include<stdlib.h> #include<string.h>…

NFS

NFS: Unix/Linux Windows 服务器端:nfs-utils nfs: nfsd(nfs服务), mountd(挂载), quotad(配额) nfsd: 2049/tcp, …

openssl以及加密

对称加密 DES: Data Encription Standard, 56bit 3DES: AES: Advanced AES192, AES256, AE…

Qt中Udp:Send、Recv

//==============send============== #include "widget.h" #include <QHostAddress> #incl…

Qt中Tcp:Server、Client

//============server============== #include "TcpServer.h" #include <QHBoxLayout> #in…

curl 命令提交post表单

POST (HTTP) It’s easy to post data using curl. This is done using the -d option. The post data must …

【转】用shell模拟多进程

#!/bin/bash #sub process do something function a_sub_process { echo "processing in pid [$$…

LVM-逻辑卷

pv: physical volume vg: volume group lv: logical volume pv: pvcreate, pvremove, pvscan, pvdisplay, …

Qt设置程序的图标

一、设置程序运行时左上角的图标,和最小化图标 this->setWindowIcon(QPixmap(“main.icon”)); 二、 程序的桌面图标 ①在源文件存放的目录中放入图标icon文…