XSockets.NET is an open-source real-time framework for .NET 4.0+ and Mono.
Questions tagged [xsockets.net]
96 questions
13
votes
8 answers
File contains corrupted data - Package Manager Console
I am trying to follow this article. There is a step which says you need to install XSockets.Sample.WebRTC via package manager console(PMC), this is where I got stuck. I have been getting an error which says File contains corrupted data, shown as…

Aritra B
- 1,726
- 6
- 29
- 45
8
votes
1 answer
How does xsockets.net (.NET WebSocket Server) run on Windows 2008?
I am comparing WebSocket servers
xsockets.net
SuperWebSocket
Fleck
SignalR
SignalR is only available on Server 2012, but my servers are running Windows 2008.
SuperWebSocket & Fleck, they only support flash-proxy fallback.
xsockets.net, this one…

Mr.Wang from Next Door
- 13,670
- 12
- 64
- 97
6
votes
1 answer
Using SignalR as service layer for WebRTC
This is a follow-up to another question I asked, but with more precise information.
I have two fundamentally identical web pages that demo WebRTC, one using XSockets as the backend signaling layer, and one using SignalR as the backend signaling…

Ken Smith
- 20,305
- 15
- 100
- 147
3
votes
0 answers
Is there a way to add session variables to xsockets from another c# controller on another server instead of javascript?
I found JavaScript code that would allow me to persist information between sessions in the following article Persistence between connections/sessions.
Is there a way of achieving this from the c# client api?
Also, is there a way to determine which…

user1790300
- 2,143
- 10
- 54
- 123
2
votes
1 answer
XSockets. version 3.06 getting Net net::ERR_CONNECTION_REFUSED with wss://
I’m running into an issue getting wss:// to work on version 3.06 in production.
I’ve been able to get it working in a test environment locally (see test environment settings at the end).
If I used ws:// and not wss://, the production server…

scornell
- 41
- 2
2
votes
1 answer
Synchronising a collection over a websocket connection
I'm working on a client-server system at the moment, and I'm trying to get a collection to synchronise across a websocket. Everything is in C# + .Net 4.5, and I was wondering if there was a particular best practise for synchronising data over a…

AlexH
- 115
- 13
2
votes
1 answer
How Can I Get XSockets to Work With HTTPS and WSS?
My XSockets.Net code works fine when I use a "ws://" URL, but when I try to implement a secure version, I can't get it to work.
I used the following C# example code as my guide:
//Sample 1 - Certificate from store public class ChuckNorrisConfig…

san man
- 21
- 2
2
votes
2 answers
XSockets.NET 4.0 - new controller instance created on method call
After upgrading my .NET server and client projects to 4.0 RC
I get NullReference exceptions because my custom State object is null.
I instantiate the state property in OnOpen event handler, but inside the method body of the first call it is already…

Alex Michel
- 416
- 3
- 13
2
votes
2 answers
XSockets / WebSockets not accessible from other machine than the hosting one
I'm developing a site using WebSockets and I'm using XSockets.NET to implement the whole WebSockets server.
Furthermore, I'm able to reach XSocket.NET controller from within the development machine, but I'm unable to reach it from another machine.…

Matías Fidemraizer
- 63,804
- 18
- 124
- 206
2
votes
2 answers
XSockets throwing InvalidOperationException on GetExport
I'm running into a weird issue. I have exactly the same code. On one machine, it works flawlessly. On the other, It throws a InvalidOperationException on GetExport
The offending line is:
_serverContainer =…

Noctis
- 11,507
- 3
- 43
- 82
2
votes
2 answers
How to Get/Set Properties using the C# client API in XSockets
In the XSockets Server API there is an example on how to get/set properties on the server controller using the JavaScript API
Get/Set properties from the client APITop
If you have a property with a public getter or setter you can access
the…

Loudenvier
- 8,362
- 6
- 45
- 66
2
votes
2 answers
XSocket.net. how to send a message to a client from an object which is not a controller
I have a class that starts a server:
public class SocketServer
{
private static IXSocketServerContainer server = null;
public SocketServer()
{
server = XSockets.Plugin.Framework.Composable
…

Rafa
- 2,328
- 3
- 27
- 44
2
votes
2 answers
XSockets and Asp.Net 4.0 Website Project
Can anybody give me a working example of an ASP dot net 4.0 website project that has a working implementation of XSockets in it?
I have set up a blank solution and can connect to ws://localhost:4502/Generic fine, but I cannot connect to a custom…

supertemp
- 611
- 5
- 11
2
votes
2 answers
Using WebSockets to communicate between Java and C# desktop applications?
I am interested in deploying a server to GoDaddy as a C# web application, then have desktop clients developed in C# and Java be able to subscribe/publish to the server using WebSockets (RFC 6455).
WebSocket supported libraries I am looking at are…

lucidgold
- 4,432
- 5
- 31
- 51
2
votes
1 answer
How to get simple XSocket.Net example up and running
Trying to follow the tutorials on how to set up a simple sample application. But I get an error when running the sample:
WebSocket connection to 'ws://127.0.0.1:41589/Generic' failed:
Unexpected response code: 404
Not sure if it's my project or…

MathiasWestin
- 251
- 4
- 18