-
关于SOCKET线程池,多个线程可否对同一个套接字同时写操作等问题?...
关于SOCKET线程池,多个线程可否对同一个套接字同时写操作等问题?-SOCKET threads on the pool, the possibility of multiple threads on the same socket at the same time a write operation and other issues?
- 2022-03-22 21:05:33下载
- 积分:1
-
pda通过gprs访问局域网内的webservice.有关windows mobile的代码
pda通过gprs访问局域网内的webservice.有关windows mobile的代码
-pda through gprs access LAN webservice. on the windows mobile code
- 2023-07-29 18:15:05下载
- 积分:1
-
Simple Server With Parameter
带有wsgiref的简单服务器和带有请求的简单客户端。
- 2022-06-02 16:46:05下载
- 积分:1
-
获取网卡地址的Delphi源码程序,比较实用
获取网卡地址的Delphi源码程序,比较实用
- 2023-01-09 08:25:03下载
- 积分:1
-
多媒体调谐器(dh)一个简单典型的c++应用程序
一个简单典型的Visual c++应用程序,主要给出了串口通信的实际代码和一个具体应用
对实际的工程编程有很大的参考价值,其中CComm 为通信类
- 2023-01-27 02:35:05下载
- 积分:1
-
该文档描述了ITU
该文档描述了ITU-T建议H.264视频编码标准的RTP负载类型格式;对采用H.264算法进行视频应用很有帮助。-The document describes the ITU-T recommendation H.264 video coding standard RTP load type format algorithm using H.264 video applications helpful.
- 2022-07-19 07:52:04下载
- 积分:1
-
CTI开发的交换机
CTI开发的交换机-CTI development of the switches
- 2022-09-02 11:30:03下载
- 积分:1
-
3GCDMA1x EVDO的资料,做通信和测试的会用到,详细介绍了EVDO的发展和空中接口、实现方式等...
3GCDMA1x EVDO的资料,做通信和测试的会用到,详细介绍了EVDO的发展和空中接口、实现方式等-3GCDMA1x EVDO data, and communications and will be used to test the details of the development and EVDO air interface, such as the realization of the way
- 2023-03-22 14:30:04下载
- 积分:1
-
BCH码的编码和解码全部过程的源代码,可以自行改变参数
BCH码的编码和解码全部过程的源代码,可以自行改变参数-BCH codes of all the process of encoding and decoding of the source code, can change the parameters
- 2022-02-27 00:06:53下载
- 积分:1
-
c# plc modibus 通信
c# 串口 以太网通信 modibus 连接 plc
从文本框输入负数 -2 补码=反+1=进位+原数
Vb 清除输入缓冲区 输出缓冲区 c#用不用清除??哪个函数??
//發送二進制數據 ??????????????
private void SendBytesData(SerialPort serialPort)
{ ////从 文本框取得数据 如果负数 -2 怎么办????
byte[] bytesSend = Encoding.Default.GetBytes(txtSend.Text);
spcom.Write(bytesSend, 0, bytesSend.Length);
}
通过MODBUS TCP读写PLC源码
功能模块一:读写PLC主模块
using System;
using System.Net;
using System.Net.Sockets;
public static void WriteWord(int mwAddress,int mwValue)
{写字到以太网
if (init_plc() == 0)
{
try
{
hi = mwAddress / 256;
low = mwAddress - hi * 256;
hi1 = mwValue / 256; ///////////16bit
low1 = mwValue - hi * 256;
sendBuf[7] = 6;
sendBuf[8] = (byte)hi;
sendBuf[9] = (byte)low;
sendBuf[10]
- 2022-07-10 15:42:30下载
- 积分:1