we have std::string A with tcp://adr:port/ How to parse it into address std::string and one int for port?
we have std::string A with tcp://adr:port/ How to parse it into address std::string and
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
EDIT: reason service is a string here is that you’ll need it as a string for resolver! 😉