Questions tagged as 'socket'

0
answers

How to run a .js on node for the large

I have a server.js in a subdomain I am using laravel-forge / digital ocean but I can not run this file. In localhost I would open the cmd and in the project folder would run the "node server.js" and it runs but I do not know how to run that f...
asked by 19.01.2018 / 14:17
0
answers

Error in connection establishment: net :: ERR_CONNECTION_TIMED_OUT

I'm trying to apply a connection with websockets, but when running, it gives the following error:    WebSocket connection to 'ws: //127.0.0.1: 8080 /'   failed: Error in connection establishment:   net :: ERR_CONNECTION_TIMED_OUT I have t...
asked by 12.01.2018 / 14:22
0
answers

How to shut down socket within an infinite loop?

Hello, I created a server-client project using a socket that listens on the port and sends the element of a Queue until the queue has no more elements. However, when I shut down the client application, the server remains open and listening. The p...
asked by 03.01.2018 / 18:30
1
answer

Socket in C does not compile

I'm having trouble creating a C socket on Linux Ubuntu. I've done everything as the guy explains in class and my code does not compile. Code GNU nano 2.5.3 Arquivo: socket.c...
asked by 24.12.2017 / 16:22
1
answer

Socket hex with checksum

I'm developing a communication socket between a crawler and the server. The socket is in perfect working order. My problem is with communication when checking the checksum. The device sends a message ranging from 0 to 200 bytes to the server...
asked by 01.12.2017 / 18:17
0
answers

Socket Connections

I'm trying to do a project in which I do the transfer of a file. I am having problem at the time the server accepts the client connection. As I'm trying to do in different packages the class Talya initiates the connection of the server in line 2...
asked by 20.11.2017 / 18:52
0
answers

Chat between two different computers

I'm new to this Socket thing and I'm having trouble connecting two computers that are on the same network. When I run the client and the server on the same machine, it works ... but when I do this on different machines, the server does not ident...
asked by 16.11.2017 / 14:37
1
answer

Socket Whitelist IP accepted connection C #

I'm trying to make a Socket (Server -> Client), however I want to make a whitelist of ip that can be accepted in the client connection to the server, however I do not know how, Server check if the ip that is in the "whitelist" that will be an a...
asked by 01.11.2017 / 15:42
0
answers

How to listen to a Socket connection on Android

I have a socket tcp java server on the pc and a tcp socket client on android, I am able to receive data from the server. But how do I create a server that is always listening to a port on android, ie create a socket server in android. Can I for...
asked by 02.10.2017 / 21:24
1
answer

Connection only works with manually set values

I have a Socket class that is working normally this way: class Socket(): __ffChatSocket = "" __meuTelefone = "" __WhatsappAPI = "" __dest = () def __init__(self, telefone, WhatsappAPI): ip = str(self.getFileConfigF...
asked by 14.09.2017 / 17:06