這篇文章受密碼保護,請輸入密碼後查看內容。
- Oct 01 Thu 2015 14:45
-
Implement Linking list in shared memory
- May 27 Wed 2015 15:31
-
Socket Performance Test
這篇文章受密碼保護,請輸入密碼後查看內容。
- Dec 29 Mon 2014 10:46
-
10K socket server
這篇文章受密碼保護,請輸入密碼後查看內容。
- Dec 11 Thu 2014 12:19
-
Server pools with libevent , pass fd through unix domain Sample !!
這篇文章受密碼保護,請輸入密碼後查看內容。
- Oct 23 Fri 2015 13:08
-
simple test of unordered_map
- Oct 13 Tue 2015 16:20
-
list 所有 listen port process
[root@localhost ~]# netstat -tlunp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1370/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2851/master
- Sep 25 Fri 2015 09:17
-
prettyprint.hpp
http://louisdx.github.io/cxx-prettyprint/
#include "prettyprint.hpp"
using namespace std ;
string getsmall(const string &a,const string &b)
{
- Sep 23 Wed 2015 10:44
-
Simple Unix domain tutorial
send.cpp
extern "C" {
#include "unpthread.h"
}
#include<sys/stat.h>
- Sep 18 Fri 2015 09:20
-
shared memory 小程式
static datafeed *conf;
#define STATE_FILE "/datafeed.shared"
int shm_fd;
if((shm_fd = shm_open(STATE_FILE, (O_CREAT | O_EXCL | O_RDWR),
(S_IREAD | S_IWRITE))) > 0 ) {
- Sep 17 Thu 2015 07:36
-
ptt 名言錄
你可能不知道自己要的是什麼,但是,要先知道自己,不要什麼。–《走在夢想的路上》謝哲青
有一天,或許你會發現,最感動的不是你完成了,而是你終於鼓起勇氣開始。
–《愛:即 使世界不斷讓你失望,也要繼續相信愛》.Peter Su
用你的微笑改變世界,但別讓世界改變了你的微笑。
–《Get Lucky!助你好運:九個心理 習慣,讓你用小改變創造大運氣》.劉軒
- Sep 16 Wed 2015 16:17
-
libevent server demo
#include <iostream>
#include <vector>
#include <map>
#include <string>
#include <algorithm>
- Sep 16 Wed 2015 16:02
-
glib read file --part 2
extern "C" {
#include "unpthread.h"
}
#include <stdio.h>
#include <glib.h>