c#网络通信 [英] c# network communicate
本文介绍了c#网络通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我必须做一个测试程序。我有卫星接收器和服务器。服务器有接收器的数据(如mac id,芯片ID,序列号等)
我想说这个,接收器从我的rooter获取一个ip地址(静态IP)所以连接到服务器,如果路由器IP =接收器IP,
服务器(SAP系统)。接收器和服务器将进行通信。
接收器没有串口,所以我想学习网络通信。
我该怎么办?
I must do a test program. I have got a satellite receiver and a server. Server has got data of receiver ( like mac id, chip id, serial number etc.)
I want to say this, receiver get an ip address from my rooter ( static ip) and so connect to server, "if router ip = receiver ip ",
server ( SAP system ). And Receiver and server will communicate.
receiver hasnt got serial port so I want to learn network communicate.
How can I do?
推荐答案
您好,
查看CP上的以下项目。他们应该让你入门。
- 使用C#的实时TCP / IP [ ^ ]
- 使用C#的TCP / IP聊天应用程序 [ ^ ]
- 可重用,高性能的套接字服务器类 - 第1部分 [ ^ ]
- 开始Winsock编程 - Simpl e TCP服务器 [ ^ ]
Hello,
Look at following projects on CP. They should get you started.
- Real Time TCP/IP using C#[^]
- TCP/IP Chat Application Using C#[^]
- A reusable, high performance, socket server class - Part 1[^]
- Beginning Winsock Programming - Simple TCP server[^]
这篇关于c#网络通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文