以下有错误:
ServerSocket 类提供了四个构造器:
public Socket(String host, int port) throws UnknownHostException, IOException
public Socket(InetAddress address, int port) throws IOException
public Socket(String host, int port, InetAddress localAddr, int localPort) throws IOException
public Socket(InetAddress address, int port, InetAddress localAddr, int localPort) throws IOException
public Socket()
public Socket(Proxy proxy)
这些构造函数都不是 ServerSocket 的。另外,这里的数量也不对,明明是六个,怎么变成了四个?
----欢迎大家试用我们的单点登录
http://zheguisoft.com