问题标签 [wampsharp]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
376 浏览

wampsharp - 如何使用 WampSharp 向客户端发送消息?

是否可以这样做:WampSharp 客户端应用程序连接到 WampSharp 服务器,然后该服务器发送消息/呼叫客户端的功能?

0 投票
0 回答
207 浏览

c# - 我正在使用 wampsharpclient 连接到 websocket。如果断开连接,我将无法重新连接到套接字

我正在使用 wampsharpclient 连接到 websocket。如果断开连接,我将无法重新连接到套接字。下面是我为连接逻辑编写的代码,如果连接断开或发生错误则重新连接。

0 投票
1 回答
110 浏览

c# - 在 WampSharp 中开始连接时如何发送命令

我遇到了这个问题Can't connect to Poloniex 。我想我找到了解决办法。我需要在打开连接时发送命令。像这样。

但它为 Python 编码。我怎样才能在 WampSharp 中做到这一点?

0 投票
1 回答
71 浏览

.net-core - 不能在调用者和被调用者上使用等待?

我正在根据这篇文章使用 core3.1 编写一个最简单的调用者控制台应用程序。当我更改channel.Open().Wait(5000);为 时await channel.Open();,它卡在了 line 处proxy.Ping();

这也可以在被调用者身上找到:

不能用await channel.Open();

不能用await realm.Services.RegisterCallee(instance);

使用 await 后,程序总是卡在一行proxy.Ping();

解决方案zipfile

为什么?不是在等待吗?