如何将请求从一台计算机发送到另一台计算机 [英] how to send request from one computer to another computer

查看:100
本文介绍了如何将请求从一台计算机发送到另一台计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在C#.net中开发Windows应用程序,在此我想将请求从服务器发送到客户端,如何在按钮click中将请求消息从一台计算机发送到另一台计算机. ="h2_lin">解决方案

尝试看看:

System.Net.Sockets
TCP客户端示例


您可以使用套接字将消息从一台计算机发送到另一台计算机..
看看下面链接给出的代码
使用C#的简单客户端-服务器交互 [ C#中的TCP客户端服务器简介 [ ^ ]

Hi, I''m developing the windows application in C#.net, In this i want to send the request from the server to client, how to send the request message from one computer to another computer in button click

解决方案

Hi, try to look at:

System.Net.Sockets
TCP Client Sample


You can use sockets for sending messages from one computer to other..
have a look at the code given below links
Simple Client-server Interactions using C#[^]
Introduction to TCP client server in C#[^]


这篇关于如何将请求从一台计算机发送到另一台计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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