How do the TCP client and server communicate?
TCP客户机与服务器之间如何通信?
A typical TCP client and server application issues a sequence of TCP system calls to attain certain functions.
典型的TCP客户机和服务器应用程序通过发布tcp系统调用序列来获取某些函数。
If the application is already running, a TCP client would be initialized and pass the URL arguments to the embedded TCP server waiting to receive such notification in the running RCP application.
如果应用程序已在运行,则TCP客户机将被初始化并把URL实参传递给在运行的RCP应用程序中等待收到此类通知的嵌入式TCP服务器。
Unlike TCP, the client and server code look quite similar for UDP-based communication.
与TCP不同,用于UDP通信的客户机代码和服务器代码非常相似。
When a client decides to communicate with a server it opens a TCP connection to send an HTTP request message to a server.
当客户机决定与服务器通信时,它会打开一个TCP连接,发送一条HTTP请求消息到服务器。
The problem that can occur with TCP is when a rogue client forges an IP packet with a bogus source address, then floods a server with TCP SYN packets.
当恶意客户机使用虚假的源地址来伪造一个IP报文时,TCP就会出现问题了,这会大量 TCPSYN报文攻击服务器。
This is the standard client/server database configuration similar to other relational databases, allowing concurrent connections using TCP sockets.
这是类似于其他关系数据库的标准客户机/服务器数据库配置,允许出现使用TCP 套接字的并发连接。
Connection setup: the setup of a TCP connection is performed by a three-step handshake between a client that wants to establish the connection and the server that is contacted by the client.
连接建立:TCP连接的建立由要建立连接的客户机和该客户机联系的服务器通过三步握手过程执行。
This starts a TCP server on port 8070 that ACTS as an intermediary between any client and port 8080 on the local host, which in this case is serviced by Tomcat.
这会在8070端口启动一个TCP服务器,它在任意一个客户端与本机的8080端口(在本例中,由Tomcat提供)之间扮演一个中介的角色。
When a client connects to a Web server, it's allowed to issue multiple requests over the same TCP connection, which reduces the latency associated with multiple connections.
一个客户机连接到Web服务器时,允许客户机通过同一个TCP连接发出多个请求,这减少了与多个连接相关的延迟。
This method constructs a socket targeted to the TCP server on the localhost at a host number known both to the client and server through URIConstants.
此方法将通过URIConstants在客户机和服务器已知的主机编号上构造一个套接字,该套接字以本地主机上的TCP服务器为目标。
The client system's DNS server value is set as the domain controller address in the TCP/IP Properties window as shown in figure 8.
在图 8所示的TCP/IPProperties窗口中,客户端系统的DNS服务器值被设置为域控制器地址。
The server kernel sends the message to the client machines using the network protocol, such as TCP.
服务器内核使用网络协议(如 TCP)将消息发送到客户端计算机。
After establishing the TCP connection, the client can send an HTTP request message to the server.
建立了TCP连接以后,客户机可以向服务器发送HTTP请求消息。
A client connects to the server, usually on TCP port 80, and makes a simple request using the HTTP protocol.
客户机连接服务器(通常通过TCP端口80),使用HTTP协议发出一个简单的请求。
When a new TCP connection comes in from a client by means of a packet with the SYN bit set, the server creates an entry for the half-open connection and responds with a SYN-ACK packet.
当从客户机发来新的TCP连接时,数据包设置了SY n位,服务器就为这个半开的连接创建一个条目,并用一个SYN -ACK数据包进行响应。
Finally, the client confirms this by sending a TCP packet back to the server with the ack flag set.
最后,客户机通过向服务器发送设置了ACK标志的tcp包进行确认。
One new software tool I will introduce this time around is the TCP tunneling GUI, which allows you to see the TCP messages move between the client and server.
这次我要介绍的一个新的软件工具是TCPtunnelingGUI,它可以让您看到TCP消息如何在客户端和服务器间传送。
To verify that the message from the client to server is encrypted and not in clear text, the TCP Monitor can intercept and forward the request.
要验证从客户端到服务器的消息已被加密、不是明文形式,TCPMonitor可以截获并转发请求。
Figure 8, Figure 9, and Figure 10 show the call sequence when the client issues connect, and the server issues accept to initiate and establish a TCP connection.
图8、图9和图10显示了客户端发布connect和服务器发布accept以指示和建立TCP连接时的调用序列。
If the TCP connection to the server breaks, the client will connect to a different server.
如果客户端与服务器的TCP连接断开了,那么客户端会去连接另一个服务器。
SSL (Secure Sockets Layer) is a protocol that operates between the Transport and Application Layers of TCP/IP and secures communications between the client and the server.
SSL(加密套接字协议层)是一个在TCP/IP中运行于的传输层和应用层之间的、确保客户机与服务器之间通信安全的协议。
If multiple clients would like the same guaranteed service, a more advanced TCP server-client code is needed.
如果多个客户想相同的保障服务,需要一个更高级的TCP于服务器-客户机代码。
The establishment of the TCP agreement makes it possible that "three-way handshake" connects the client and the server.
TCP协议的建立通过客户与服务器之间的“三次握手”过程实现。
The network edition of circulate software MCGS adopts three layers advanced model structure system: the subordinate machine, server and client, which is based on the protocol of TCP/IP.
MCGS网络版组态软件采用了更为先进的基于TCP/IP协议的下位机—服务器—客户端三层模式的结构体系。
Both sides establish a TCP connection in the client-server mode. Requests and responses are exchanged in the same connection.
通信双方以客户-服务器方式建立TCP连接,应答与请求在同一个连接中完成。
Consider a TCP connection establishment in which a client does an active open and a server does a passive open. Moreover, the acknowledgment from the client (the third TCP segment) is lost.
这个我清楚,但是三次握手过程中,客户端没有在要求服务器端发送一个确认包确认他已经收到了第三个包啊!
Consider a TCP connection establishment in which a client does an active open and a server does a passive open. Moreover, the acknowledgment from the client (the third TCP segment) is lost.
这个我清楚,但是三次握手过程中,客户端没有在要求服务器端发送一个确认包确认他已经收到了第三个包啊!
应用推荐