[C#]自己的协议通讯 [英] [C#] Own protocol communication

查看:155
本文介绍了[C#]自己的协议通讯的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我来自波兰,我的英语不太流利.

我正在写硕士论文.主管希望我对协议通信进行编程,但我不知道该怎么做.

该协议应为/具有:
-使用的套接字(UDP协议)
-由程序包组成,例如:init,bye ping,message,这些程序包应打包在UDP
中 -传输广播/多播
-数据加密,例如RSA

我不知道如何去做.总的来说,我不喜欢每天太多的编程.我希望以简单,合乎逻辑的方式编写此内容.我已经读过,可以使用某些"处理程序对此类事物"进行编程.我不知道它是什么,以及为什么将其放置在程序中.
有人可以概述如何开始编写这样的协议,然后可以使用一个简单的文本使者吗?在哪里可以找到信息,示例,常见问题等?

Hi, i am from Poland and i am not fluent English.

I am writting M.A thesis. Supervisor want that i programmed protocol communication but i doesnt know how to do it.

It protocol should be do/has:
- used socket(UDP protocol)
- consisted of package, for example: init, bye ping, message, which would have been packed in package UDP
- transmission broadcast/multicast
- data encryption, for example RSA

I do not know much how to go about it. In general, I do not like too much programming and programming on a daily basis. I would like this to be written in simple, logical way. I''ve read that such "things" can be programmed using "some" handlers. I do not know what it is and why it is placed in the programs.
Could someone outline how to start writing such a protocol, which would then be able to use a simple text messenger? Where can I find information, examples, faq and etc.?

推荐答案

您为自己的论文选择了一个编程项目,而您甚至都不喜欢编程?除此之外,撰写论文涉及您自己的研究,而不是我们的研究.研究它,学习如何做,然后写你的论文.
You picked a programming project for your thesis, and you don''t even LIKE programming? Beyond that, writing a thesis involves YOUR OWN research, not ours. research it, LEARN how to do it, and then write your thesis.


与开始阅读本书相比,你可能做得更糟:
http://www.cs.wustl.edu/~schmidt/POSA/POSA2/ [ ^ ]

它不会给您答案,但是可以使您了解这些事情通常是如何完成的.既然您正在写论文,我想您将需要理解事物的原因,而不是如何.

您也可以仔细查看 ACE [
You could do worse than starting out reading this book:
http://www.cs.wustl.edu/~schmidt/POSA/POSA2/[^]

It will not give you the answer, but it will enable you to understand how these things are usually done. Since you are writing a thesis, I would guess that you will have to understand the why of things, much more than the how.

You can also take a long look at ACE[^]

Good luck :)

Regards
Espen Harlinn


这篇关于[C#]自己的协议通讯的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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