本文介绍了TCP Write实际如何工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们,
我需要知道TCP的写操作如何工作,它在哪里写?我使用的是502端口.我对Modbus TCP不清楚,我需要使用它.我看到一个应用程序使用了Modbus TCP.他们最后使用了简单的写操作,但是数据是字节数组类型.根据WriteMultipleRegister操作有一些安排.然后使用Write(data,o,data.length).

而且,即时消息对C#和套接字编程是新的

请帮助我..

Hi friends,
I need to know how the write operation of TCP works.Where it is writing? I used Port 502. I dont have clear idea about Modbus TCP.I need to use that.. i saw one app used Modbus TCP. They used the simple write operation at the end but the data is a byte array type. There some arrangements are done according to WriteMultipleRegister operation. then Write(data,o,data.length) is used..

Moreover, im new to C# and socket programming

Please help me out..

推荐答案


这篇关于TCP Write实际如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 05:19