thanks everyone, i solved my problem.
just use io_service.stop() instead of acceptor.close() and socket.close().
maybe i must to research the implementation.
2010/3/10 Jens Weller
...
step 1: start server step 2: start client, connect to server step 3: on server, type "exit" result: server crashed "This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information."
Please do not top post (again).
Also, no I will not read your code, as its a few hundred lines, so please only post to the list your changes, or the change that triggers your error.
regards,
Jens Weller -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users