RE: [Libevent-users] Read callback problem

2011-02-06 Thread Kelly Brock
Hi, > I have a simple network application with simple protocol over > TCP\IP. The main idea of protocol is size+message model. So at first i'm > sending size of message (coded in big-endian, first 4 bytes) than the > whole message. > I'm using event2 and read data from OnRead callback

[Libevent-users] Read callback problem

2011-02-06 Thread Gordiychuck Oleg
Начало переадресованного сообщения: > От: Gordiychuck Oleg > Дата: 7 лютого 2011 р. 00:04:43 GMT+02:00 > Кому: majord...@freehaven.net > Тема: Read callback problem > > Hello! > > I have a simple network application with simple protocol over TCP\IP. The > main idea of protocol is size+messag