[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] multiple TCP server under windows fails
- To: libevent-users@xxxxxxxx
- Subject: [Libevent-users] multiple TCP server under windows fails
- From: boit sanssoif <boit.sanssoif@xxxxxxxxx>
- Date: Thu, 29 Aug 2013 23:56:04 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Thu, 29 Aug 2013 17:56:11 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=5hEnsTabV/HKZLVn5uT8nA+9p1LC3GJ3j74rbR7JnOU=; b=DjuIkdMgJMfKBQfhHVZ1toKGMsz74Tb4FlfVDetE3R4DZJoH4W1Wz4YokJ6pNG07j+ pHzmw6XgMFoTp6nc5WyLyhCODhMih0jbbljD5fNPM9VHu957KY4/u21gvcq17cZh8Zvx iol6Tyec6KFSiQgkb+ynPRPian3Es6ZaPPcFv9+isnt1ylpfMthwizuF34d3botIH2Yh +YlIpxrWZlUhGzSWhh1aAgDL9zAs1mhejBOk9acvzWxN+yqlC3EIxczoN1yEhk4om9QV jCOyFv7ust9WTZfDiH8I26+07zVT3mMqkAS9TR9hVxiDiLnLjfBhEd/izD2cwNVBHJ9L pITQ==
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
Hi,
I'm porting a linux application (mono threaded which start two TCP
servers) to windows.
The TCP server implementation is largely based on this page
http://www.wangafu.net/~nickm/libevent-book/Ref8_listener.html
I compiled libevent (2.0.21) for windows under linux using mingw, then
I ported my application and tried it using wine under linux, it worked
well like the linux one (libevent is statically linked in the exe).
But when I executed the application under a real windows, I can't
connect to the second TCP server.
a netstat -a shows me that the TCP server is started, but the accept
callback of my code is never fired.
I tried to put some log into the libevent listener.c file just after
the accept instruction in the listener_read_cb function and I don't
see anything too.
what can I do to find where is the problem ?
boit
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.