Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1515535
  • 博文数量: 596
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 173
  • 用 户 组: 普通用户
  • 注册时间: 2016-07-06 15:50
个人简介

在线笔记

文章分类

全部博文(596)

文章存档

2016年(1)

2015年(104)

2014年(228)

2013年(226)

2012年(26)

2011年(11)

发布时间:2013-12-14 21:31:15

引用的指针没有数据类型// file: parser.ctypedef struct Parser {  int id;  void *data;}Parser;在其它文件引用该结构,也包含了该头文件parser.h// file: audio.c#include "parser.h".........【阅读全文】

阅读(602) | 评论(0) | 转发(0)

发布时间:2013-12-13 10:43:53

大小写切换 ctrl+shift+x,大写ctrl+shift+y,小写......【阅读全文】

阅读(376) | 评论(0) | 转发(0)

发布时间:2013-12-13 09:49:52

1. no username supplied (see "hg help config")XP:Take the default Mercurial.ini file found at in the Mercurial executable install directory (C:\Program Files\Mercurial\Mercurial.ini on my machine)and copy it to your user home dir (C:\Documents and Settings\myName on winXP).Windows 7:there.........【阅读全文】

阅读(430) | 评论(0) | 转发(0)

发布时间:2013-12-13 00:24:52

RedLinkInfo *link;link = reds_init_client_connection(socket);主要是填充RedsStream的SpiceChannelEventInfo, 在函数外指定其回调stream_read_cb,stream_write_cb,stream_writev_cb客户端和服务端通信的链路数据,一个socket就有一个连接。也就是一个客户端连接产生一个主通道。struct RedClient {.........【阅读全文】

阅读(1163) | 评论(0) | 转发(0)

发布时间:2013-12-12 22:47:55

http://www.cnblogs.com/D-Tec/archive/2013/04/19/3030129.html建立Channel的详细步骤及消息传递流程如下:(s表示server代码,c表示client代码)s: reds_init_net, 创建listen socket,增加监听watch_add(reds_accept)c: RedChannel::run-》RedChannelBase::connect() -.........【阅读全文】

阅读(1852) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册