使服务器知道数据传输错乱 [英] make server aware of data transfer complted

查看:68
本文介绍了使服务器知道数据传输错乱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi ..
我想让服务器知道到客户端的数据传输已完成,并等待以查看客户端是否正在发出任何新请求(在同一端口).

喜欢对话:
客户端:您好//这里我想告诉服务器客户端已经发送了数据并等待响应,稍后它可以再次发送给服务器
伺服器:hi
客户:你好吗?
服务器:很好,谢谢!
伺服器:那你呢?
客户:我也很好,谢谢.

hi..
i want to make the server aware of completion of data transfer to the client and wait to see whether client is making any new request or not (at same port).

like conversation:
CLIENT: hi //here i would like to tell the server that the client has sent the data and waiting for response and later again it can send to server
SERVER: hi
CLIENT: how are you?
SERVER: I am fine, thanks!
SERVER: What about you?
CLIENT: I am fine as well, thanks.

推荐答案

请参见答案-server-to-receieve-send-data-from-to-a-client>此处 [
See the answers here[^], which is the same question. Please do not repost the same query, but update your original with more information.


这篇关于使服务器知道数据传输错乱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆