Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Asio server application close get "This application has requested the Runtime to terminate it in an unusual way."
From: l.jay Yuan (pass86_at_[hidden])
Date: 2010-03-09 20:07:32


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 <JensWeller_at_[hidden]>:
> ...
>>
>> 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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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