大海儿歌二年级上册:serversocket是什么意思

来源:百度文库 编辑:高校问答 时间:2024/04/28 17:55:25
各位大哥server=new ServerSocket(4700);是什么意思,麻烦您指点下.

serversocket

释义:
1可以分析创建服务器的每个具体步骤
2服务器端插座

双语例句:
These channels can be treated as replacements for java.net.Socket andjava.net.ServerSocket, respectively.
这两个接口可用来分别代替 java.net.Socket 和 java.net.ServerSocket 。

Let's take a look at each of these steps using code snippets to illustrate. First, wecreate a new ServerSocket
我们来考察一下以上每一个步骤,我们用代码片段来说明。

This is the method that does all the work for the sample application; it does somesetup (opens ServerSocket), then starts a loop to accept the incomingconnections.
这个方法对样例应用程序完成所有的工作;它执行了一些设置(打开ServerSocket),然后启动一个循环来接受进入的连接。

是JAVA吧,那是建立一个服务端名为server的对象,开的端口是4700

服务的TCP/IP协议端口号是4700