Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - serversocket
Search - serversocket - List
在某个servlet类被实例化之后,init方法由servlet容器调用。servlet容器只调用该方法一次,调用后则可以执行服务方法了。在servlet接收任何请求之前,必须是经过正确初始化的。(private boolean shutdown = false; public static void main(String[] args) { HttpServer1 server = new HttpServer1(); server.await(); } public void await() { ServerSocket serverSocket = null; int port = 8080; try { serverSocket = new ServerSocket(port, 1, InetAddress.getByName("127.0.0.1")); })
Update : 2024-04-29 Size : 3789824 Publisher : edwinly

DL : 0
通过蓝牙传输数据与Socket类似。在网络中使用Socket和ServerSocket控制客户端和服务端的数据读写。而蓝牙通讯也由客户端和服务端Socket来完成。蓝牙客户端Socket是BluetoothSocket,蓝牙服务端Socket是BluetoothServerSocket。这两个类都在android.bluetooth包中。(Data transmission through Bluetooth is similar to Socket. Using Socket and ServerSocket to control data reading and writing of client and server in network. And Bluetooth communication is also completed by client and server Socket. Bluetooth client Socket is BluetoothSocket, Bluetooth server Socket is BluetoothServerSocket. These two classes are all in the android.bluetooth package.)
Update : 2024-04-29 Size : 219136 Publisher : aaliangjian

在wifi局域网下,手机可以和电脑通过socket通信。手机做服务端,电脑做客户端;也可以反过来,电脑做服务端,手机做客户端。 下面介绍的是手机作为服务端,电脑使用MFC编程作为客户端,原理是,手机建立一个ServerSocket,并获取自己的ip地址和端口port;然后电脑通过socket连接手机的ip:port。(In the WiFi LAN, the mobile phone can communicate with the computer through the socket. The mobile phone is the server side, the computer is the client; also can in turn, the computer does the service end, the mobile phone is the client. The following is the mobile phone as the server side. The computer uses MFC programming as the client. The principle is to set up a ServerSocket and get its IP address and port port. Then the computer connects ip:port to the mobile phone through socket.)
Update : 2024-04-29 Size : 6262784 Publisher : sclink

ServerSocket表示服务器上的套接字,该套接字等待并侦听来自客户端的服务。套接字表示服务器和客户端之间通信的端点。当服务器获得作为服务请求,它创建一个套接字与客户端进行通信,并继续侦听ServerSocket上的其他请求。客户端还创建一个套接字,以便与服务器进行通信。(ServerSocket represents the socket on a server that waits and listens for service from a client. Socket represents the endpoints for communication between a server and a client. When a server gets a request for service, it creates a Socket for communication with the client and continues to listen for other requests on the ServerSocket. The client also creates a Socket for communication with the server.)
Update : 2024-04-29 Size : 2048 Publisher : Desiree

利用DelphiSocket组件制作的简单TCP服务器和客户端(Simple TCP server and client based on delphisocket component)
Update : 2024-04-29 Size : 372736 Publisher : livebp
« 1 2 ... 5 6 7 8 9 10»
DSSZ is the largest source code store in internet!
Contact us :
1999-2046 DSSZ All Rights Reserved.