boost::lexical_cast(port) is a big problem because result of this function depends of locale. And if locale is defined in process, result will be with delimeters, like this ",". And we will have port = "11,345".
↧