客户端与服务器应用 [英] Client vs server application
问题描述
案例1:
我创建了服务器和客户端tcp / ip应用程序客户端已经向服务器发送了512个字节,但是服务器没有从客户端接收512个字节。
如何确保从客户端发送的数据和收到服务器?
案例2:
客户端已发送1024通过tcp / ip到服务器的字节数,然后服务器接收1024字节并断开连接。
那么如何确保1024字节已发送到服务器? br $>
请解释。
提前谢谢
问候,
ranjith
Hi,
case 1:
I have created server and client tcp/ip application and client has sent 512 bytes to server , but server is not receving 512 bytes from client.
how can i make sure that what ever the data has been sent from client and server is received?
case 2:
Client has sending 1024 bytes to server through tcp/ip and before server is receiving 1024 bytes and connection got disconnected.
So how can i make sure that 1024 bytes has sent to server?
please explain.
thanks in advance
Regards,
ranjith
推荐答案
表示案例1和2:
用于跟踪数据包发送在网上使用来自他的wireshark应用程序重新 [ ^ ],以便您可以跟踪网络数据包申请。
如需参考,请查看简单的TCP / IP聊天客户端/服务器 [ ^ ]
for case 1 and 2 :
for tracing the packet send on the net use wireshark application from here[^] so you can trace network packet from the application.
For reference please have a look on this A simple TCP/IP Chat client/server[^]
这篇关于客户端与服务器应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!