|
Boost Users : |
Subject: [Boost-users] Error closing an asio::socket
From: Claude (clros_at_[hidden])
Date: 2011-05-13 16:35:29
Hello.
In a program server in c++ I create an asio::socket and I listen it on a
port (myPortNumber).
Then I connect to my program using telnet (linux) with:
telnet localhost myPortNumber
The communication works fine, except that when I close the terminal window,
the server closes with an error message:
"terminate called without an active exception
Aborted
Process returned 134 (0x86)"
Why?
How can I prevent the server program is interrupted?
-- View this message in context: http://boost.2283326.n4.nabble.com/Error-closing-an-asio-socket-tp3521153p3521153.html Sent from the Boost - Users mailing list archive at Nabble.com.
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