用C#编写套接字的基本介绍/教程 [英] Basic Introduction/Tutorial to writing sockets in C#

查看:77
本文介绍了用C#编写套接字的基本介绍/教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

有没有使用c#编写套接字的基本教程.我已经环顾了一阵子了,但仍未找到有关如何进行此操作的深入教程..
感谢您的帮助.

Hello,

Is there any basic tutorial to writing sockets in c#. I have looked around for a while and still have not found a in-depth tutorial about how to go doing it..
Any help is appreciated.

推荐答案

您应该看看CodeProject提供的文章:
使用C#在.NET中进行套接字编程的简介 [ ^ ]

异步套接字服务器和客户端 [ C#SocketAsyncEventArgs高性能套接字代码 [使用.NET Framework的异步套接字通信 [ ^ ]

使用C#的TCP/IP聊天应用程序 [ C#套接字和序列化 [ 尽情享受编码吧!
You should have a look at the Articles that CodeProject provides:
An Introduction to Socket Programming in .NET using C#[^]

An Asynchronous Socket Server and Client[^]

C# SocketAsyncEventArgs High Performance Socket Code[^]

Asynchronous Socket Communications Using the .NET Framework[^]

TCP/IP Chat Application Using C#[^]

C# Sockets and Serialization[^]

I suggest you try out one of these and play with them by creating a client and a server - best is always: "learnign by doing".
Enjoy coding!


有关阅读文档的一切,

http://msdn.microsoft.com/en-us/library/system. net.sockets.socket.aspx [ ^ ]

锻炼示例并阅读以进行修改.

C#中的套接字 [
It''s all about reading documentations,

http://msdn.microsoft.com/en-us/library/system.net.sockets.socket.aspx[^]

workout the examples and read to revise.

Sockets in C#[^]


hii,请参阅这篇文章

http://csharp.net-informations.com/communications/csharp-socket-programming.htm [^ ]


ftp://ftp.sybex.com/4176/4176ch07.pdf [ ^ ]
hii,refer this article

http://csharp.net-informations.com/communications/csharp-socket-programming.htm[^]


ftp://ftp.sybex.com/4176/4176ch07.pdf[^]


这篇关于用C#编写套接字的基本介绍/教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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