异步通信编码 [英] Asynchronous communication Coding

查看:70
本文介绍了异步通信编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我对异步通信回调和代码流都很陌生。我需要使用实用的东西来理解它的基本思想。毫无疑问我要问的是使用事件和委托进行异步通信而不使用Ajax等。任何人都可以指导我从哪里获得完整的源代码和一个这样的项目的示例,以便我可以构建我自己的原型。

异步聊天服务器将是最好的使用TCP / IP和socket编程。

请指导我。

Thanx! :)

解决方案

我可以获得完整的源代码和一个这样的项目的例子

那个''不是学习东西的正确方法。



1. 先尝试你想做什么!你可能会发现它并不那么难。

2.制定你所做的事情看似问题/不工作。





目前,以下文章应该有所帮助:

使用C#的TCP / IP聊天应用程序 [ ^ ]

TCP / IP聊天程序 [ ^ ]

C#SocketAsyncEventArgs高性能套接字代码 [ ^

Hi all,

I am pretty new to the asynchronous communication callbacks and code flow. I need to understand the basic idea of it using something practical. Making none thing clear I am asking about asynchronous communication using events and delegates and not using Ajax or something. Can anyone please guide from where I can get full source code and example of one such project so that I can built a prototype of my own.
A async chat server will be the best using TCP/IP and socket programming.
Kindly guide me for the same.
Thanx ! :)

解决方案

where I can get full source code and example of one such project
That''s not the right way to learn things.

1. TRY first what you want to do! You may find that it''s not that hard.
2. Formulate what was done by you that looks like an issue/not working.


For now, following articles should help:
TCP/IP Chat Application Using C#[^]
A TCP/IP Chat Program[^]
C# SocketAsyncEventArgs High Performance Socket Code[^]


这篇关于异步通信编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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