Boost logo

Boost Users :

Subject: Re: [Boost-users] asio 10022 error
From: Igor R (boost.lists_at_[hidden])
Date: 2008-11-08 11:45:47


> I am using boost 1.36.0 asio. I have to connect to several ip/ports within
> my application, asio successfully connects to some ips/ports while it throws
> an error with code 10022, "An invalid argument was supplied". In my case the
> ip/ports supplied are on the same ip i.e. same server.
>
> Any ideas what I could be doing wrong?

It's hardly possible to spot the problem, without even knowing how
your code looks, but my guess is that some design flaw caused an
inappropriate access of some asio object (probably, unsynchronized
access from several threads or accessing a destroyed object).


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