title: How to convert string without ":" to const uchar *addr?
body: <p>I must convert string like this "FE80:0000:0000:0000:0000:0000:0000:0012" to const uchar *addr without ":".</p>
  
  <p>I tried split string without ":" and put like vector,...</p>
  
  <pre><code>vector&lt;string&gt; addressIPv6(string serverIP)
  {
      istringstream iss(serverIP);
      std::vector&lt;string&gt; tokens;
      std::string token;
  
      while (std::getline(iss, token, ':')) {
          if (!token.empty())
              tokens.push_back(token);
      }
      return tokens;
  }
  </code></pre>
  
  <p>Thank you for help!</p>