Questions tagged [socketio4net]

SocketIO4Net.Client provides a .NET 4.0 C# client for Socket.IO

Provides an overall interface similar to the client JavaScript experience, leveraging the WebSocket4Net project for an underlying websocket implementation.

See the project's homepage for more.

16 questions
28
votes
11 answers

Newtonsoft.json assembly package version mismatch

I am trying to use SocketIO4Net to create socket.io client in .net. Itseems SocketIO4Net has a dependency of Newtonsoft.Json >= 4.0.8. I also am using PushSharp library which has a Newtonsoft.Json dependency of >= 4.5.10. I got NewtonSoft.Json…
Bitsian
  • 2,238
  • 5
  • 37
  • 72
4
votes
1 answer

socketio4net error initializing handshake

I'm using Xamarin(mono 3.2.5) on OSX to create a C# console app that connects to the blockchain.info websocket stream. I've included the socketio4net library from NuGet and thought I followed the specs correctly, but I'm a bit new to socket.io…
ACVentures
  • 81
  • 1
  • 6
3
votes
1 answer

How to disconnect from socketio4net

I have a application that connecting from c# client to node.js server in c# client I am using socketio4net and websocket4net in server I using nodejs and socket.io when I close my program (c#), disconnect event was not sent to server. so I got…
John Nguyen
  • 711
  • 6
  • 21
2
votes
0 answers

Error initializing handshake with http://127.0.0.1

Okay so I have been using SocketIO4Net.Client recently and I have ran into a problem. I call the Go function in the Hello class on startup, and as soon at it is called I get an error 'Error initializing handshake with http://127.0.0.1' Here is my…
Josh Hallow
  • 359
  • 3
  • 15
1
vote
0 answers

unsuccessfull websocket connection using socket.io, SocketIO4Net and AWS

I am trying to code client side of web socket connection on windows web form application with the help of SocketIO4Net library available in Visual Studio. Here is my code: using System; using System.Collections.Generic; using…
M.Dagiya
  • 203
  • 3
  • 13
1
vote
0 answers

Why messages from Socket.IO server are recieved from time to time?

I have socket.io server in node.js. All connections come through NGINX. The client is written in C# with Quobject/SocketIoClientDotNet library. The problem is that client receives messages from server only from time to time. I have logs in node.js…
1
vote
1 answer

SocketIO4Net Handshake Error

I've got a problem with the connection of a client to a socket.io server. I have following code: private Client _Client; private void Initialize(string websocket) { try { this._Client = new Client(websocket); …
Yannici
  • 736
  • 5
  • 17
1
vote
2 answers

How do I bake dependencies into C# console program?

I have a C# console program that uses the nuget plugin SocketIO4Net When I build the exe and move it to my Windows 2008 server, it doesn't work, whereas on my local machine, it works. Unhandled Exception: System.IO.FileNotFoundException: Could not…
user773737
1
vote
1 answer

IISNode Socket.io NodeJS app (connect from c# using socketio4net)

I have simple nodejs server running using iisnode. var app = require('http').createServer(handler); var io = require('socket.io').listen(app); io.configure(function () { io.set('transports', ['xhr-polling']); if…
dtksmsl
  • 239
  • 4
  • 14
1
vote
1 answer

No messages received in SocketIO4net

I am attempting to consume a socket.io API using SocketIO4net however cannot seem to receive any messages. In the same VS2010 solution, I have a website with the following code:
Macros
  • 7,099
  • 2
  • 39
  • 61
0
votes
1 answer

SocketIO4Net - Error initializing handshake with https://localhost/

I'm trying to use SocketIO4Net to connect with my node.js server via socket.io. Can't seem to get it to work, when it comes to HTTPS. Getting this: Error initializing handshake with https://localhost/ Couldn't find a solution in other similar…
R4Ynz
  • 41
  • 1
  • 5
0
votes
1 answer

socketio4net-problems with proxy

I have been asked to take over a project where the previous developer had used socketio4net, hence I learnt of the socketio4 project only now. the problem my employer is facing is clients having proxy servers. we have installed our product(client…
wbsat
  • 61
  • 6
0
votes
1 answer

SocketIO4NET with SSL

Getting "error initializing handshake" with the SocketIO4Net library when I try to connect using my https node/socket.io connection over SSL. Is SSL/WSS supported with SocketIO4Net? SocketIO4Net with plain http works, and standard Socket.IO in…
0
votes
2 answers

SocketIO4Net Acknowledgement Callback

I'm trying to use SocketIO4Net for communication with my NodeJS server. As mentioned by the NodeJS SocketIO doc, we can do something like: var io = require('socket.io').listen(80); io.sockets.on('connection', function (socket) { …
yaoxing
  • 4,003
  • 2
  • 21
  • 30
0
votes
1 answer

How to register events with socket.io namespaces using socketio4Net?

I am using SocketIO4Net to create a .NET socket.io client in my worker role with which i can connect to my socket.io server. I have been able to connect to the namespace after shifting around a lot of code than what was mentioned in the…
Bitsian
  • 2,238
  • 5
  • 37
  • 72
1
2