XSockets.NET is an open-source real-time framework for .NET 4.0+ and Mono.
Questions tagged [xsockets.net]
96 questions
0
votes
1 answer
XSockets WSS not connecting
I'm having great difficulty making a WSS Xsockets implementation. I've made a selfsigned certificate in IIS7. I've tried connecting several times via JS and it simply will not. What's more puzzling is that the non-secure implementation works…

MHTri
- 910
- 2
- 10
- 30
0
votes
1 answer
XSockets : Difference between ClientGuid and StorageGuid
For each connection to the XSockets Server, the client has 2 ID's types:
ClientGuid
StorageGuid
What's the difference between them ?

NoteStylet
- 315
- 1
- 3
- 21
0
votes
1 answer
Understanding XSockets.NET pubsub: producing and consuming messages from JavaScript
Let's say I've the following sample code (JavaScript):
// Client A
var conn = new XSockets.WebSocket([wsUri]);
conn.on(XSockets.Events.open, function (clientInfo) {
conn.publish("some:channel", { text: "hello world" });
});
// Client B…

Matías Fidemraizer
- 63,804
- 18
- 124
- 206
0
votes
2 answers
XSockets.Net Server onOpen event implementation
I tweak XSockets.Net Server now.
I read http://xsockets.net/docs/c-server-api#using_events
Using events
The server side API offer a few events to help you out.
OnOpen
Invoked when the client is connected and the handshake is completed.
//Hook up the…
user1028880
0
votes
1 answer
Setting up XSockets on Windows Server 2003 R2, IIS6
I am looking for some guidance on setting up an MVC/XSockets project on our servers running Windows Server 2003, R2 with IIS6.
Our team is developing a webapp that uses XSockets 3.x to dynamically display data in real time. We are using our time…

Sebbo
- 405
- 2
- 9
- 15
0
votes
1 answer
Unable to connect to XSockets.NET server using out-of-the-box XSockets.NET C# API when transport is over WSS
I've built a WebSockets server using XSockets.NET and I've switched it to use WSS scheme (SSL).
While it seems that JavaScript XSockets.NET API reaches the whole WebSocket server, C# API doesn't get connected.
Sample client code:
ClientPool…

Matías Fidemraizer
- 63,804
- 18
- 124
- 206
0
votes
1 answer
Mono's mkbundle on Linux breaks XSockets application with XSockets.Plugin.Framework.Composable --> DirectoryNotFoundException
I am working on a self-sustaining web application by embedding servers into it. One of the servers is a WebSocket server powered by XSockets.
If I xbuild the solution and then mono Application.exe - works as expected.
If I then mkbundle --deps -o…

tomsseisums
- 13,168
- 19
- 83
- 145
0
votes
1 answer
What does '.Bind()' of XSockets on lower level
I have the following C# code using XSockets library:
var client = new XSocketClient("ws://awebsocket.org:4502/Controller", "*");
client.Bind("commands", e => { ... });
Now I'm trying to port this code to Python 2.7 with WebSocket package:
ws =…

DiKorsch
- 1,240
- 9
- 20
0
votes
0 answers
Updating MVC Model List using Knockout.js
I am working on an app which connects to XSockets via WCF and am able to get the data on the client side. I want to display this data using Grid.Mvc and have seen samples of using knockout.js, but I am not sure how to push this into my IEnumerable…

tribal
- 219
- 3
- 14
0
votes
1 answer
Configure XSockets to use the handshake port
From my understanding, WebSockets has been designed to traverse firewalls and proxies. Indeed, after an handshake between the client and the server, the communication protocol will change from HTTP to WS but it will still communicate on the port…

The_Black_Smurf
- 5,178
- 14
- 52
- 78
0
votes
1 answer
WebRTC security options with XSockets
If I follow the example outlined on this page "http://xsockets.net/docs/installing-xsocketsnet" and install the controller as a self hosted application on a different server from the web server hosting the website that would communicate with the…

user1790300
- 2,143
- 10
- 54
- 123
0
votes
3 answers
Does SignalR really broadcast every message to all connected clients?
We currently evaluating solutions for implementing server-sent events (not neccecarily using the Server-Sent Events EventSource Transport).
Our use case is actually quite similar to Stackoverflow. We've got a custom CMS implemented as SPA that…

Oliver Weichhold
- 10,259
- 5
- 45
- 87
0
votes
1 answer
Cannot run XSocket WebRTC example - vs2013
I am trying to run the XSockets WebRTC example found here: http://www.nuget.org/packages/xsockets.sample.webrtc
The package installs and displays index.html, however the websockets server does not appear to start. This seems to work since I renamed…

user1790300
- 2,143
- 10
- 54
- 123
0
votes
1 answer
XSocket.Longpolling fallback on MVC 3
Having some problems with this one.
MVC3, .NET 4.0, jQuery 1.11.0, XSockets 3.0
Client:
IE8 or Firefox(websocket=false)