Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

求告知源码阅读顺序 #9

Open
xinhuichen opened this issue Jun 7, 2016 · 5 comments
Open

求告知源码阅读顺序 #9

xinhuichen opened this issue Jun 7, 2016 · 5 comments
Labels

Comments

@xinhuichen
Copy link

我正在看你的代码,想知道应该以什么顺序阅读?哪几个文件先看,哪些后看?谢谢了

@dtm-labs
Copy link
Contributor

dtm-labs commented Jun 7, 2016

. 先了解epoll编程,项目中raw_example下面有例子
. 先阅读readme,还有文档
. 按照例子编写几个程序,试试
. poller对epoll进行了简单的封装,出来一个可移植的接口
. event_base是整个框架
. conn是tcp的连接与服务器

@qqraise
Copy link

qqraise commented Oct 12, 2016

请问chat.cc是一个server,这样的话没有一个对应的client来测试使用,是这样吗

@dtm-labs
Copy link
Contributor

dtm-labs commented Oct 12, 2016

你用telnet连上服务器,里面有提示如何交互

@qqraise
Copy link

qqraise commented Oct 12, 2016

是不是也可以用handy库写一个客户端

@dtm-labs
Copy link
Contributor

当然也可以

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants