通信客户端和服务器 [英] Communication clients and server

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

问题描述





我正在寻找建议什么类型的通讯方式(WCF,TCP / IP ......)

to客户服务器项目的实现,通常是客户端将数据发送到服务器,将服务器发送命令提供给客户端。



一些信息:

连接必须一直打开。

我的服务器有静态IP,客户端没有。

客户端运行.net控制台应用程序。



谢谢。

Hi,

I am looking for suggestion what type of communication method(WCF,TCP/IP...)
to implement for client server project, usually the clients sending the data to the server, somthimes the server send command to the clients.

Some info.:
The connection must be open all the time.
My server has static ip, the clients no.
The client runing .net console application.

Thanks.

推荐答案





WCF是一个框架,TCP / IP是一种协议。 WCF可以使用TCP等协议,WCF也可以使用HTTP,例如:

传输协议 [ ^ ]

选择交通工具 [ ^ ]



还要看看这些文章:

WCF基本客户端/服务器 [ ^ ]

带有自定义身份验证的WCF客户端服务器应用程序,授权,加密和压缩 - 第1部分 [ ^ ]

使用MSMQ推送客户端服务器 [ ^ ]

TCP客户端服务器简介C# [ ^ ]

C#.NET中的完整TCP服务器/客户端通信和RMI框架 - 实现 [ ^ ]

一个用C#编写的非常基本的TCP服务器 [ ^ ]

使用C#的简单客户端 - 服务器交互 [ ^ ]

通用TCP / IP客户端/服务器 [ ^ ]

用C#编写的TCP / IP服务器 [ ^ ]

多线程客户端/服务器套接字类 [ ^ ]
Hi,

WCF is a framework, TCP/IP is a protocol. WCF can use protocols such as TCP, WCF can also use HTTP for example:
Transport Protocols[^]
Choosing a Transport[^]

Have also a look at these articles:
WCF Basic Client/Server[^]
WCF Client Server Application with Custom Authentication, Authorization, Encryption and Compression - Part 1[^]
Wcf Client Server Push using MSMQ[^]
Introduction to TCP client server in C#[^]
A Complete TCP Server/Client Communication and RMI Framework in C# .NET - Implementation[^]
A very basic TCP server written in C#[^]
Simple Client-server Interactions using C#[^]
Generic TCP/IP Client/Server[^]
A TCP/IP Server written in C#[^]
Multi-threaded Client/Server Socket Class[^]


这篇关于通信客户端和服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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