Questions tagged as 'socket'

0
answers

ERR_SSL_PROTOCOL_ERROR - Socket.io and Node.js

I'm running a Node.js server using Socket.io to manage connections via Socket, however, I'm having a problem with SSL certificates. Most users can access the Node.js server normally, but others can not and do not get the following error:...
asked by 29.08.2016 / 20:48
2
answers

Multiple connections to devices using Sockets [closed]

I have a method that connects to a card reader via TCP / IP (ip, port) using Sockets. For the 1: 1 connection is working, but now I need to connect to more than one device simultaneously. Would I have to create a Thread for each connection, or w...
asked by 16.08.2016 / 21:11
1
answer

Socket response with problems on Android NDK

I'm trying to implement this library, parson , in C, but when I try to manipulate the data obtained via connection socket (SO link) , I get a null , which does not happen when I manually put json in C. The problem is in the...
asked by 20.08.2016 / 23:22
0
answers

Arduino android and socket [closed]

How do the arduino communicate with the android using the socket network protocol, to send and receive data? traveling information captured in the arduino, in this case of humidity and temperature.     
asked by 05.08.2016 / 01:32
0
answers

Measure RTT in JAVA

Is there a way to measure latency between a client and a server in JAVA? I intend to create a proxy server that will redirect a client's request to one of the other two servers, and one of the metrics for server choice will also be based on t...
asked by 07.06.2016 / 21:32
1
answer

Calculator using Socket in Java

I'm doing a college job and got some information from the Internet, the teacher asked a client to send 2 values and a basic operation, the server should take this and return the total. It turns out that the client only takes the variables of him...
asked by 06.12.2014 / 15:36
1
answer

Replicate message to all clients of a chat [closed]

I need to replicate a client's message to everyone who is logged in, except the client that sent it. Below are the classes I have so far. How could you replicate these messages? public class Servidor { public static final int porta = 4444;...
asked by 16.01.2016 / 10:00
1
answer

Task queue or my own solution for thundering herd?

I'm developing a network server application in C ++ and I came across the thundering herd problem, since I designed to have multiple threads accepting ( accept() ) client connections simultaneously. p> By my searches, the most common s...
asked by 28.02.2016 / 03:36
0
answers

Server Socket on Windows Azure, how to capture External Ip?

I developed an App Console, which creates an asynchronous Server Socket. You may see a similar HERE . I also have a common Web App, which consumes the information entered in the database by the App Console. There has been a need to upload...
asked by 06.01.2016 / 19:35
0
answers

client and UDP server send data but not receive (C windows)

Hello, I'm trying to create an application that performs data exchange on the network, so there is an initial connection using TCP sockets that is working normally, then comes the use of UDP sockets, however I can not perform data exchange, send...
asked by 26.12.2015 / 16:55