Re: [Libevent-users] Connect to server failed, libevent return BEV_EVENT_ERROR event and BEV_EVENT_CONNECTED event?

2012-04-27 Thread Dawen Rie
As nobody answer my question for a long time, I try to solve the problem by adding a event_base_loopbreak(base); When BEV_EVENT_ERROR occurred. Is it really the normal solution for such kind of problem? 在 12-4-14 上午11:23, "Dawen Rie" 写入: > I just write a simple client, and try to connect to a s

Re: [Libevent-users] Unable to compile libevent 2.0.18

2012-04-27 Thread Nick Mathewson
On Thu, Apr 26, 2012 at 5:21 PM, Zack Weinberg wrote: > On Thu, Apr 26, 2012 at 12:54 AM, Dinh wrote: >> You are right. event-config.h contains invalid characters. However, it is >> automatically generated. It works on dedicated Ubuntu 11.10 box. But it >> didn't on Xen-based Ubuntu 11.10 instanc