Questions tagged as 'socket'

1
answer

SSL socket dying on the client and no errors on the server

I have a problem with connections to ssl sockets in python When I perform a stress test on the SMTP daemon that I am writing the client some sending threads die with " Connection reset by peer ", but server side does not there is no exceptio...
asked by 20.02.2014 / 19:03
1
answer

Socket "cutting" bytes in two packets

I am developing communication via Socket from my program with the server. This server is responsible for bridging between my program and the users who are connected to it, ie the user making a change in "program A", the user of "program B" will...
asked by 16.08.2016 / 21:56
3
answers

Deploy queues for WebSocket

I am developing a WebSocket server that will control multi client connections, it will basically work as a chat, it will be a kind of multiplayer game , after many searches and some tests I realized that when using Socket for mess...
asked by 03.04.2014 / 15:31
1
answer

Socket between 2 clients and 1 server in C

How to receive two connections? The system consists of 2 clients and 1 server, the server must receive the connections and initiate a sequential conversation with the clients. I was able to implement the communication between 1 client and t...
asked by 03.12.2014 / 16:54
1
answer

How to get the public IP of a user connected via socket?

I need to get the IP address of a user who will connect remotely to my program, and list it, the program itself is a chat where only the server will store the users IP address. The client connects via socket, how to proceed to capture the IP?  ...
asked by 19.11.2014 / 01:00
1
answer

How to create loop to issue an event in socket.io?

I have an architecture problem. I have a code using socket.io at nodejs : socket.on('images',function (aData){ ... socket.sockets.emit('show', JSON.stringify({imagens : json})) }); I'm trying to broadcast a broadcast from tim...
asked by 20.01.2014 / 11:16
1
answer

C # .Net blocking or non-blocking?

Does the System.Net.Sockets library, using asynchronous operations such as BeginReceive (), BeginRead (), and BeginSend () work blocking or non-blocking? If I have 100 connections, there will be 100 threads, 1 thread to manage each send and rece...
asked by 09.06.2014 / 23:44
1
answer

What is a loopback interface?

I was experiencing socket connection problems on my server: What causes the error [could not bind to" tcp: //127.0.0.1: 8843 ". Can not assign request adress]? I was able to solve the problem. The technician told me the problem was that...
asked by 12.01.2016 / 14:43
1
answer

Chat Client-Server Application with Sockets not working

I'm doing a project and I got to the part of the communication between the server and the client and I did not get the output I wanted (output image intended). The goal is for the server and client to communicate with each other. That is, to...
asked by 24.11.2015 / 23:50
1
answer

Socket Multi Thread Server - Java Server and Client in C ++

I have to develop a Mini Socket Multi Thread Server (college work) in Java and I need to make a Client in C, for example, it can be in any language, but I chose those two. How do I send the values from the Client to the Server? For example...
asked by 15.05.2015 / 20:29