Questions tagged [supersocket.net]

SuperSocket is a light weight, cross platform and extensible socket server application framework. You can use it to build a server side socket application (like GPS server, GIS server, game server, FTP server, SMTP/POP3/IMAP4 server, SIP server, SNMP server, etc) easily without thinking about how to use socket, how to maintain the socket connections and how socket works.

SuperSocket is a light weight, cross platform and extensible socket server application framework. You can use it to build a server side socket application (like GPS server, GIS server, game server, FTP server, SMTP/POP3/IMAP4 server, SIP server, SNMP server, etc) easily without thinking about how to use socket, how to maintain the socket connections and how socket works.

It is a pure C# project which is designed to be extended, so it is easy to be integrated to your existing system. If your systems (like forum/CRM/MIS/HRM/ERP) are developed in .NET language, you must be able to use SuperSocket to build your socket application as a part of your current system perfectly.

https://supersocket.codeplex.com/

22 questions
5
votes
2 answers

Cross platform .NET WebSocket server library with async support

Are there any cross-platform (read: Mono-friendly) libraries that offer WebSocket server support and allow for asynchronous IO via a C# 5 async API? SuperSocket.NET seems like the closest option, but does not appear to offer async support. Mono…
Drew Noakes
  • 300,895
  • 165
  • 679
  • 742
4
votes
1 answer

C# SuperSocket without protocol

The question is simple: I've read the whole SuperSocket documentation but I don't understand if there is a way to use it without implement a protocol. I don't need to send specific commands but only bytes which might be one or hundreds, depending…
tedebus
  • 978
  • 13
  • 20
3
votes
1 answer

SuperSocket can't set up a server

I am writing this to find out why the code below is resulting in failed setup for supersocket server. var appServer = new AppServer(); if (!appServer.Setup(8080)){ MessageBox.Show("Failed!"); } I have added rule in firewall that…
3
votes
1 answer

How to create a SuperSocket WebSocket server in code

I'm trying to create a Websocket server using SuperSocket library but documentation is limited and I can't find any info on how to setup & configure a websocket server. My key requirements are: Create the Server in code. Setup multiple…
tunafish24
  • 2,288
  • 6
  • 28
  • 47
3
votes
1 answer

How to set NoDelay socket option

How to set NoDelay socket option (or socket options in general) with supersocket?
Anri
  • 6,175
  • 3
  • 37
  • 61
2
votes
1 answer

Encoding Task to run on a specific thread

I've updated an old project that was using SuperSocket to connect to old c++ servers. With the latest version (from 0.7.0 => 0.8.0.8) I got en exception when trying to reconnect (It says that the socket was opened on a different thread) I would like…
advapi
  • 3,661
  • 4
  • 38
  • 73
1
vote
1 answer

Use Ping/Pong to detect half open websocket issue

We are using WebSocket & super socket for real-time notification in our project. In between the connections are broken due to which in browser the notifications are not received The possible solution we got is of using PING/PONG. But, could not…
finn
  • 31
  • 3
1
vote
1 answer

Where can I find the configuration file for "SuperWebSocket" (Supersocket)? Or how can I change ReceiveBufferSize for websocket in code?

I want to configure the "maxCommandLength" attribute, but I cannot find the configuration file or instructions on how to create it. How can I change ReceiveBufferSize for websocket in code?
1
vote
0 answers

SuperSocket ReceiveFilter implementation

According to the SuperSocket documentation, I have to implement ReceiveFilter which will receive binary data and convert it to object so my application can work with it. Currently I'm working with the client side using SuperSocket.ClientEngine. From…
Red Profit
  • 11
  • 2
1
vote
1 answer

AppServer.NewRequestReceived event doesn't fire in SuperSocket

I've created a server that just prints out a line whenever a new request is received: var server = new AppServer(); if (!server.Setup(2012) || !server.Start()) { return; } server.NewSessionConnected += (session) => Console.WriteLine("new…
sashoalm
  • 75,001
  • 122
  • 434
  • 781
1
vote
1 answer

SuperSocket - Get the full message appServer_NewRequestReceived event

How do I get the full message appServer_NewRequestReceived event. For example, if I send a message "0000858 5521113 GT855500" in requestInfo.Key is "0000858" and requestInfo.Body comes "5521113 GT855500". I wonder if there is a way where you can…
Henrique Mauri
  • 718
  • 6
  • 20
1
vote
1 answer

Php Client closing when Send request to Supersocket in C#

I have server in c#, client in PHP. I used Supersocket[https://supersocket.codeplex.com/] to communication between client and server. C# with Supersocket - Serverside using System; using System.Collections.Generic; using System.Linq; using…
Veeramani
  • 19
  • 1
  • 7
1
vote
0 answers

How to implement SuperSocket

I am trying to implement Supersockets - https://supersocket.codeplex.com/ for a project i am working on. I have the a server that uses configuration to run. In my project I have referenced: …
user2165673
  • 19
  • 2
  • 9
1
vote
1 answer

SignalR - Calling Hub class method (present in a separate MVC project) from Server side code

I have read some SignalR tutorials. In order to implement SignalR in my existing Asp.Net solution application I did following: I have created a separate MVC 4 project and created a Hub class along with some methods, so that it can be called from any…
Faisal Mq
  • 5,036
  • 4
  • 35
  • 39
0
votes
0 answers

I got error when excuting SuperSocket telnet example

Recently, I'm learning Supersocket. I made telnet Supersocket with this example. When I try to access with telnet, server returnes Operation is not supported on this platform. Below is error messages. Press and key to start the server! d The server…
sangeun jo
  • 37
  • 9
1
2