原创 thrift 網絡結構說明

Thrift network stack Simple representation of the Apache Thrift networking stack  +------------------------------------

原创 c算法100例

【程序1】  題目:有1、2、3、4個數字,能組成多少個互不相同且無重複數字的三位數?都是多少?  1.程序分析:可填在百位、十位、個位的數字都是1

原创 關於ICE通信的一張截圖

這是ICE的簡單示例的wireshark截圖示意圖,從中可以簡單的瞭解ice兩端通信的大概過程和步驟 點贊 收藏 分享 文章舉報 frozen_flash 發佈了59 篇原

原创 thrift特點介紹

Apache Thrift Features · interface description language - Everything is specified in an IDL file from which bindings f

原创 peerconnection_server 的編譯

項目中需要修改webrtc的peerconnection_server,之前的環境已經沒有了,只得重新部署環境。 源碼是下載到windows環境中的,linux機器不能聯網。 上傳到linux機器之後 1.gclient runhooks

原创 ICEGRID通信截圖

圖中顯示了客戶端和icegrid通信的大體流程 先進行tcp的三次握手(客戶端和icegrid) 客戶端獲取到icegrid返回的真正服務端的通信端口等信息之後,便與該服務器端進行tcp三次握手 之後進行數據交互 點贊

原创 thrift 安裝

/configure --prefix=/home/mm/install/thrift09x/ --with-libevent=/home/mm/install/libevent/ --without-php 指定了libevent之後,

原创 zeromq 利用protobuf通信

利用zeromq進行編程時候,服務器和客戶端的通信,利用protobuf時候 之前的項目裏面,需要對protobuf進行編碼解碼。 其實並不需要如此繁瑣,直接利用 protobuf裏面的 MessageLite 的兩個函數就可以搞定  

原创 使用 Python 實現跨平臺的安裝程序

引言 我們在使用類 Unix 系統時,經常會用到一些以“.bin”或者“.run”結尾的安裝程序 (Installer)。(爲描述方便,這裏我們使用

原创 git 使用簡記

1,branch的建立及使用 git clone [email protected]:/media/projiect/omap4/nexttab/

原创 shell拷貝依賴庫文件

 ldd  libcmylib.so  | grep  -e '=>' | awk '{ print ($3)}' | grep "so" | xargs -I {} cp {} /home/savedir/

原创 關於IOCP那些事

HTTP Server design with I/O Completion Ports encompases: I/O Completion po

原创 linux zip cmd

 linux zip 命令詳解 功能說明:壓縮文件。 語 法:zip [-AcdDfFghjJKlLmoqrSTuvVwXyz$][-b <工作目錄>][-ll][-n <字尾字符串>][-t <日期時間>][-<壓縮效率>][壓

原创 編譯WEBRTC

Before you start First, be sure to install the prerequisite software. The

原创 linux 進程前後臺切換

當你用shell啓動一個程序時,往往他是在前臺工作的。 例如經常用PUTTY連接到遠程服務器執行腳本的時候,如果本地網絡中斷後,這個時候前臺進程就結