如何通过外部调制解调器连接的串行端口发送拨号消息?

发布于 2024-08-22 12:07:00 字数 108 浏览 4 评论 0原文

我通过串行端口将外部调制解调器连接到电脑。 所以我想用C#通过拨号方式连接服务器。 然后,发送和接收消息。

我该如何解决这个问题?请。

我可以使用.NET 的串口组件吗?

I connect the external modem to the pc with serial port.
so i want to connect server through dial-up method with C#.
And then, send and receive message.

How can i solve this problem? please.

Can I use serialport component of .NET?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

空城之時有危險 2024-08-29 12:07:00

是的。
您需要从服务器规范中找出要发送的消息类型,但是,您可以使用 SerialPort 对象。

这是您的起点。

http://www.dreamincode.net/forums/showtopic35775.htm

和 Bing搜索我曾经找到过。

http: //www.bing.com/search?q=C%23+modem+communications+via+serialport&src=IE-SearchBox&FORM=IE8SRC

Yes.
You'll need to find out from the server specs what type of message to send, but yes, you would use the SerialPort object.

Here's a starting point for you.

http://www.dreamincode.net/forums/showtopic35775.htm

And the Bing search I used to find it.

http://www.bing.com/search?q=C%23+modem+communications+via+serialport&src=IE-SearchBox&FORM=IE8SRC

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文