Hostname vs. IP - address

前端 未结 2 1615
野的像风
野的像风 2021-02-14 07:56

I am currently implementing openssl into my application. My problem arose when I had to set the hostname, IP - address, and port of the BIO. I have always known ip and hostname

2条回答
  •  春和景丽
    2021-02-14 08:12

    A host name is a combination of the name of your machine and a domain name (e.g. machinename.domain.com). The purpose of a host name is readability - it's much easier to remember than an IP address. All hostnames resolve to IP addresses, so in many instances they are talked about like they are interchangeable.

提交回复
热议问题