Here, the first line creates a new BIO object with the specified hostname and port, formatted in the fashion shown.
在这里,第一行代码使用指定的主机名和端口创建了一个新的BIO对象,并以所示风格对该对象进行格式化。
We will first delete the BIO connector that runs on port 8080, and then create a new NIO connector to run on the same port.
我们将首先删除在 8080 端口上运行的 BIO 连接器,然后创建在此端口运行的新 NIO 连接器。
Regardless, once both the hostname and port number are specified to the BIO, it will attempt to open the connection.
不管怎样,一旦BIO的主机名和端口号都已指定,该指针会尝试打开连接。
应用推荐