Questions tagged as 'socket'

0
answers

Socket automatically disconnects

Hello, I was making a connection from a Socket to a ServerSocket, but after the first message the Socket receives it it automatically disconnects. Socket, read messages: private void startRunnable() { new Thread(new Runnable() {...
asked by 25.05.2018 / 00:25
1
answer

Socket in Java that sends and receives

I'm doing a college project and I'm using an ESP8266 microcontroller. At first, I wanted to create a SocketServer and a SocketClient in Java, that were able to both receive messages and send each other, no need to have a multithreaded connection...
asked by 19.05.2018 / 13:33
1
answer

Program for when a structure declaration occurs in different places

Follow the source code ... #define _WIN32_WINNT 0x0501 #include <stdio.h> #include <ws2tcpip.h> #include <winsock.h> #include <windows.h> WSADATA data; struct addrinfo tips, *information; void exaple_one(void); void...
asked by 19.04.2018 / 22:30
0
answers

DatagramSocket not receiving in the receive method AWS AMAZON EC2

Good evening guys, I have a problem with my code, I'm trying to do the following application. A client - server connection that makes a video stream. It turns out that the code works if I test from one machine to another on a local network....
asked by 15.04.2018 / 00:22
0
answers

Socket Error in Windows Server

Good afternoon. Well, I'm a supplier of virtual servers and files from an old game (MuOnline), what happens is this. These files made available by me are programmed in c ++, however these files are currently presenting a socket-related pro...
asked by 19.03.2018 / 18:59
0
answers

Sending data byte [] socket

I have a problem a few days that I can not solve. I have a socket connection and I'm testing signature in the messages, I have a Mensagem object that contains String mensagem , String assinatura and PublicKey chavePubli...
asked by 07.03.2018 / 13:47
0
answers

(Python2.7) OpenCV send frames through socket

I'm trying to send OpenCV frames through sockets, with the code below. The problem is that the video ends up splitting into several rows or columns. I can only run with python2 (2.7) obs: This code is not mine. source: link Client:...
asked by 10.03.2018 / 02:18
1
answer

Distributed Calculator - UDP Client / Server

I'm trying to make a Distributed Calculator using Client and UDP Server, the client sends 3 numbers to the server. The 1st would be the chosen option, example (1 - sum, 2 - subtraction, 3 - division) the other two numbers would be the operands....
asked by 11.03.2018 / 01:10
0
answers

Receiving data from a server in the console

Hello, as I am learning python and I entered this network area and exchange information, I would like to get some questions about the code I created trying to make a console interact with a server. Server Code: import socket import sqlite3...
asked by 20.02.2018 / 05:53
0
answers

Socket Error (Socket is closed)

I'm doing a program using sockets but a very strange error pops up when I sum two numbers twice. The socket goes down and I do not know why  here is the server code import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt...
asked by 10.02.2018 / 18:35