<p>The syntax the BIO_parse_hostserv() recognises is:</p>

<pre><code>host + &#39;:&#39; + service
host + &#39;:&#39; + &#39;*&#39;
host + &#39;:&#39;
       &#39;:&#39; + service
&#39;*&#39;  + &#39;:&#39; + service
host
service</code></pre>

<p>The host part can be a name or an IP address. If it&#39;s a IPv6 address, it MUST be enclosed in brackets, such as &#39;[::1]&#39;.</p>

<p>The service part can be a service name or its port number. A service name will be mapped to a port number using the system fu