使用C#在TCP/IP中为另一个系统发送消息 [英] send message for another system in tcp/ip with C#

查看:70
本文介绍了使用C#在TCP/IP中为另一个系统发送消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我的朋友们/
我想编写一个程序,该程序将在两台使用Ftkp协议/ip/查找但没有结果的计算机之间发送消息
我使用Visual C#应用程序进行编程
Grateful

Hello my friends /
I want to write a program that will send messages between two computers with Ftkp protocols / ip / looked for but did not result
I program with Visual C # application
Grateful

推荐答案

我从没听说过FTKP,但也无法在Google上找到与此相关的任何内容.

如果您输入错误并表示使用FTP,请查看以下文章: FTP客户端库C# [^ ]

如果它是UDP/TCP的替代品,则需要在原始Socket之上自己实现它.请参阅 http://msdn.microsoft.com/zh-cn/library/system.net.sockets.socket(v = vs.100).aspx [ http://msdn.microsoft.com/zh-CN/library/system.net.sockets.tcpclient(v = vs.100).aspx [ ^ ]
I have never heard of FTKP, but was also not able to find anything on Google about it.

If you made a typo and meant FTP, take a look at this article: FTP client library for C#[^]

If it is a replacement for UDP/TCP, you will need to implement it yourself on top of a raw Socket. See http://msdn.microsoft.com/en-us/library/system.net.sockets.socket(v=vs.100).aspx[^] for more information about that.

If it is a protocol on top of TCP you can use a TcpClient as base, and work upon that: http://msdn.microsoft.com/en-us/library/system.net.sockets.tcpclient(v=vs.100).aspx[^]


这篇关于使用C#在TCP/IP中为另一个系统发送消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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