All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Sam <batmanustc@gmail.com>
Cc: qemu-devel@nongnu.org, qemu-discuss@nongnu.org
Subject: Re: [Qemu-devel] For unix domain socket, will only one client could connect to this socket?
Date: Thu, 27 Jul 2017 14:52:51 +0100	[thread overview]
Message-ID: <20170727135251.GN2555@redhat.com> (raw)
In-Reply-To: <CAOE=1Z02yvArAxqtPoTHgLu01xS+K7ZPCXvwA8SG2hYVb7rA1w@mail.gmail.com>

On Thu, Jul 27, 2017 at 07:58:06PM +0800, Sam wrote:
> Thank you, I think another process connect this socket, so I hanged here.

Yes, if another process has it open, you would see a hang if you tried
to connect to it, because the kernel will have queued the incoming
connection, but QEMU will not call accept() on it until the first client
has gone.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

      reply	other threads:[~2017-07-27 13:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-27 10:37 [Qemu-devel] For unix domain socket, will only one client could connect to this socket? Sam
2017-07-27 10:47 ` Daniel P. Berrange
2017-07-27 11:58   ` Sam
2017-07-27 13:52     ` Daniel P. Berrange [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170727135251.GN2555@redhat.com \
    --to=berrange@redhat.com \
    --cc=batmanustc@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-discuss@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.