Howto catch SocketOSException?
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Mar 25 19:41:46 PDT 2017
On Sunday, 26 March 2017 at 02:24:56 UTC, Jolly James wrote:
> You can ignore the loop()-method. It is not called as the
> application will never reach this statement, because it cannot,
> because it crashes already in the listen()-method in
> consequence of the exception that does not get caught by the
> try-catch block.
Try putting it in the try anyway and see what happens.
It is an async socket library, they can do weird things.\
More information about the Digitalmars-d-learn
mailing list