Questions tagged as 'socket'

1
answer

Problem when reading objects sent by Java Socket

I have a problem sending an object of one class per socket. I have the class hiloservidor which is responsible for executing threads every time a request arrives. private Socket ss; private int counter; public hiloservidor(Socket i,int...
asked by 11.01.2017 / 03:28
0
answers

Send message by socket in C blocks

I need to send data packets in blocks through a socket . I have a pointer of uchar with the complete message, and a variable of type int with the length of it. The connection of the socket I have already done perfec...
asked by 03.10.2018 / 16:59
1
answer

SyntaxError: JSON.parse: unexpected character at line 1 column 2 of the

I have problems trying to parse my JS Here I try to parse him var JSONdata = JSON.parse(message); //parseo la informacion // console.log(JSONdata); nombre = JSONdata[0].nombre; nit = JSONdata[0].nit; funcionario = JSONdata[0].funci...
asked by 01.08.2018 / 18:43
1
answer

Send and receive messages in c and python (client and server)

I need to know how I can send and receive messages from these two different languages. I would thank that very much. (I'm new to this): $ Server python (Centos): import socket import threading def conexiones(socket_cliente): peticion...
asked by 12.06.2018 / 05:36
0
answers

Raise server with PHP SocketIO

I'm doing tests with PHP SocketIO. Everything is perfect but I wonder ... In local to raise the server a command is executed, but how is it done when the app is hosted in a shared hosting? Is PHP exec used or how is it done? I hope my ques...
asked by 04.06.2018 / 04:36
0
answers

Send audio data (client) with Websocket for an Audio Streaming

I have the following code that sends the video: window.URL = window.URL || window.webkitURL; navigator.getUserMedia = ( navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedi...
asked by 01.11.2017 / 22:46
0
answers

Problem sending files larger than 23 MB per socket

I have a class that inherits from Process that takes advantage of a connection SSH to do a port-forwarding to a remote machine and send a certain number of bytes. import socket from multiprocessing import Process,Pipe class SshC...
asked by 14.11.2017 / 23:42
1
answer

Connect 2 applications in a LAN network (C # or VB NET)

Hello colleagues I am using Sockets regardless of the programming language, I have 2 applications (Red Lan), one on the PC and another on a Notebook. I would like to know if it is necessary to have the OPEN PORT for the connection of the 2 appli...
asked by 29.03.2017 / 00:04
0
answers

___ ___ erkimt multiple clients Sockets C # ______ qstntxt ___

This code is from the server of an application in C #, for example I have 3 clients connected, but I do not know how to do it if I want to send it to the first or third etc. etc.

Someone give me an idea xfa.

%pre%     
___

This code is from the server of an application in C #, for example I have 3 clients connected, but I do not know how to do it if I want to send it to the first or third etc. etc. Someone give me an idea xfa. private Socket serverSocket;...
asked by 29.07.2017 / 18:51
1
answer

Reading packets from a server with Java sockets

I am developing a program for reading packages sent by computers to a server that has the port 7779 enabled to receive this data. For this I use sockets from Java . The problem I have is that I open the port, read the information, but afte...
asked by 28.01.2017 / 23:45