摘要:
#include<glib.h> static void test_function(gpointer data, gpointer user_data) { int i; i = GPOINTER_TO_INT(data); g_print("test function %d\n",i); } i 阅读全文
摘要:
原文地址:http://blog.chinaunix.net/uid-17188120-id-2820866.html 1.通过已经连接的socket文件获取 int getpeermac( int sockfd, char *buf ) { int ret =0; struct arpreq ar 阅读全文