Re: [Libevent-users] How http client can send back message to server?

2010-12-11 Thread Christian Dahlqvist
I am a bit confused about your description how the flow of messages between client and server works. It seems like the client is trying to act as a server once the first request has been sent, which I would expect would confuse any standard HTTP server. Should the client not instead send a new requ

Re: [Libevent-users] How http client can send back message to server?

2010-12-11 Thread Christian Dahlqvist
I am a bit confused about your description how the flow of messages between client and server works. It seems like the client is trying to act as a server once the first request has been sent, which I would expect would confuse any standard HTTP server. Should the client not instead send a new requ

Re: [Libevent-users] How do I get the client IP address?

2010-12-10 Thread Christian Dahlqvist
portability aspect is one of the reasons I started with libevent in the first place. Christian On Fri, Dec 10, 2010 at 11:30 AM, Dirk-Willem van Gulik wrote: > > Op 10 dec 2010, om 11:51 heeft Christian Dahlqvist het volgende geschreven: > >> I am new to libevent, and am curre

[Libevent-users] How do I get the client IP address?

2010-12-10 Thread Christian Dahlqvist
Hi, I am new to libevent, and am currently writing my first server using libevent 2.0.x. I have been trying to find an example of how to get the clients IP address when a new client connects, but have so far not found any support for it in the libevent API. Can somepone please help point me in the