[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] evconnlistener & local domain sockets
- To: libevent-users@xxxxxxxxxxxxx
- Subject: [Libevent-users] evconnlistener & local domain sockets
- From: Jan Danielsson <jan.m.danielsson@xxxxxxxxx>
- Date: Thu, 01 Aug 2013 02:50:42 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Wed, 31 Jul 2013 20:50:55 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to :subject:x-enigmail-version:openpgp:content-type :content-transfer-encoding; bh=gwdco/vtOXKoezj1naL+MGaOO53Raqwkdv4dmf0DSnU=; b=oFmR0NeAstsE15pEWsurNOtoDjIIfa1XJQbsmufC3jePwZfbdMoAeXJHVCrBYsl7NG Oa3PRtj2SI1FO2xb93RjoW6Eb9m9VbrTa8nuGk6I47kXcxQ71j1Pr3xtMGDxYc40Cvk8 lUzivG86s3YRni7RqRuuy1r4PI544ulqyI9ZzjeiwXgJ9XnLdE6ma085QIKZXT4cHCb4 kSApUg3H/m6rlb35CJu3OzN+PY+l7209wmlIvPacdnERgeBYVCLLUwXX+AUO1gT5mr4u efY/orDAIQqSUJ6uptcdUCDK6ZqJ0chGOTyDaSCxaGqmdDoE9dqdHMO9EYpFfVUSfcHX FnNQ==
- Openpgp: id=13D7A8ED
- Organization: La Cosa Nostra
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (X11; NetBSD amd64; rv:17.0) Gecko/20130726 Thunderbird/17.0.7
Hello,
Will evconnlisteners work with (streaming) local domain sockets?
Since local domain sockets in many ways can be used as a drop-in
replacement for TCP (just change an integer and an "address", and it
works the same (to a naive application)), I would presume it works.
However, the documentation explicitly states: ``The evconnlistener
mechanism gives you a way to listen for and accept incoming TCP
connections.''.
Any reason evconnlisteners can't/won't work with local domain sockets?
--
Kind regards,
Jan Danielsson
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.