Boost logo

Boost Users :

Subject: [Boost-users] [Asio] Multiple Servers using io_service
From: Dominik Steenken (dominik_at_[hidden])
Date: 2008-09-11 16:53:31


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello everyone,

  i am trying to create a program where two
  servers accept incoming tcp connections,
  each at a different port. I worked through
  the tutorials and the used async_accept
  as described there to listen for connections.
  For a single server that worked fine. For the
  second server i postponed calling io_service.run()
  until both async_accept operations were
  executed. Both Instances use the same
  io_service. But now neither port is opened
  when i start the program. No exceptions,
  nothing.
  I realize that i am new to using boost and that
  this may be a stupid question, but still, it is a
  puzzling error to me and time is somewhat
  of the essence here, so if you could please give
  me a hint on how to proceed, i would greatly
  appreciate it.

Thanks in advance,
  Dominik Steenken
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIyYVKaIgTXFmz1t0RAgzKAJ9gvNcQl5+TVuiQJv8qQA+cGubeTgCeMEQo
yZV1pq14n481VkdomJUgwAE=
=UpHz
-----END PGP SIGNATURE-----


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net