[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
RE: [Libevent-users] Read callback problem
Ack, missed how the read was pulling the data off. Nice catch Nick...
> > static void OnRead(struct bufferevent *bev, void *user_data)
> > {
> > int buf_len = evbuffer_get_length(bufferevent_get_input(bev));
> > ConnectionContext *ctx = user_data;
> > uint8_t size_data[4],*data;
> >
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.