c ++ StreamSocket :: ConnectAsync有效吗? [英] Is c++ StreamSocket::ConnectAsync working?

查看:80
本文介绍了c ++ StreamSocket :: ConnectAsync有效吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用StreamSocket连接到服务器。 C ++ ConnectAsync保持在Starting状态。我尝试使用c#版本,它连接没有任何问题。 

I tried to connect to a server using StreamSocket. C++ ConnectAsync stays in Starting status. I tried on c# version, it connects without any problem. 

我找不到任何关于使用C ++ StreamSocket作为客户端的示例或讨论。是否有人使用c ++版本没有问题?

I couldn't find any example or discussion on using C++ StreamSocket as a client. Is anybody using c++ version without problem?

推荐答案

它应该可以正常工作。查看
StreamSocket示例
例如。

如果您仍然遇到此问题,请发布一个更具体的问题,详细说明您如何调用它,您期望的行为以及您获得的实际行为。

If you still have problems with this then please post a more specific question with details about how you are calling it, the behavior that you expect, and the actual behavior that you get.

- Rob


这篇关于c ++ StreamSocket :: ConnectAsync有效吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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