Hi All,

When I connect to a remote unreachable tcp port, connect() return -1
(with errno as EINPROGRESS). If I use event_add, I can get read event
later and then getsockopt(fd, SOL_SOCKET, SO_ERROR,..) will tell me
error. If I create bufferevent_new with the connect fd directly, I got
no event any all.

Can I get connect() error with bufferevent?

Thanks.

Arthur 

_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to