Questions tagged [xsocket]

xSocket is an easy to use NIO-based library to build high performance, scalable network applications. It supports writing client-side applications as well as server-side applications in an intuitive way. Issues like low level NIO selector programming, connection pool management, connection timeout detection are encapsulated by xSocket

10 questions
1
vote
2 answers

xsockets c# client publish

//connection return true var connection = await c.Open(); await c.Controller("mycontroller").Publish("chatmessage", new { Text = "Hello people!" }); I want publish message from my xamarin android client, to my server public void…
1
vote
2 answers

Share screen using getScreenId.js in WebRTC for two peers

I am trying to implement share screen function in webrtc video conferencing. From suggestion, I am now following muaz-khan's solution using https://www.webrtc-experiment.com/getScreenId/ . I can easily capture the application images of one peer, and…
0
votes
0 answers

Java, xSocket - frames divided into two parts - how read?

I have a device that is sending data frames with bytes in one connection. First it sends Hello Frame, to which I respond by ACK, then it sends not fixed-length data frame. And there is a problem. That data frame sometimes is divided into two…
Nolias
  • 101
  • 1
  • 10
0
votes
1 answer

Error in WebSocket connection to 'ws://127.0.0.1:4502/Broker'

I am new in here,and I wrote this code but it gives error in console :'ws://127.0.0.1:4502/Broker' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED.Can anybody help me ? I only try samples from internet but they don't…
batuhan
  • 5
  • 3
0
votes
1 answer

Detecting xSocket connection loss in client

This is for Xsockets. I have a client connected to a socket, lets say the client looses internet connection, is there a xSocket function that will get called on the client that will let me know that the client (itself) is not connected to the socket…
pmeyer
  • 890
  • 7
  • 31
0
votes
1 answer

How to install xsock?

I downloaded library from http://sourceforge.net/projects/xsock/. In INSTALL file are steps to run this libs. I changed location to xsock/libxsock and type in terminal ./configure Nothing happend... How to solve this? cd' to the directory…
Piotr Wera
  • 49
  • 1
  • 2
  • 7
0
votes
1 answer

Access to streams without the camera

Is it possible only to watch remote streams without access to my camera/microphone? Imagine that I only want to watch debate between Obama and Roomney.
Cvjetko
  • 33
  • 1
  • 1
  • 8
0
votes
0 answers

How to inject bean reference into a Handler of xsocket?

I use xsocket to implement a socket server, and the handler of xsocket need inject an bean to do something. But, the reference aliway be NULL, I had logged the setter method, the setter method had been excused and the bean is not null in the…
sean
  • 1
  • 1
0
votes
1 answer

how could I get the first 4 bytes with xsocket

I’m writing a socket gateway for the whole company, I will defined the message format as length+value, it means, the first 4 byte indicate the length of the value. If I use xsocket, how could I get the first 4 bytes, then use…
sean
  • 1
  • 1
-1
votes
1 answer

XSocket licensing

I'm currently in a project using XSockets. Understand that the project is open source and free to use. But it still requires a valid license to run. Can I know where I can get this license? The path given as information is invalid now. I have also…
Mohan
  • 1
  • 2