Questions tagged as 'socket'

0
answers

How do I access a serial port from a remote SSH server with PHP?

I found out about SSH and socket connections to remote servers and also connections to local serial ports, but I still have not found out how to put things together. Scenario: I need to access the / dev / ttyACM0 port of a TX modem (which I c...
asked by 16.08.2017 / 03:44
0
answers

Chat in CakePHP

My colleague and I developed a chat in CakePHP 1.2 (the system is somewhat old) using Ajax. But the only problem is that it needs to be making requests to the database at all times, with a defined interval, in search of new messages, more or les...
asked by 27.03.2017 / 14:27
0
answers

Python does not find the "wait_read" member in "Gevent.socket"

import gevent from gevent import socket from gevent.pool import Pool from gevent.event import Event . . . def __receive__(self): """ receive response packets """ while not self.die_event.is_set():...
asked by 05.04.2017 / 21:45
0
answers

Sending an object from one page to another without nodejs

My question is the following I know there are nodejs to connect servers to clients. How can I get a json object from one page to another? It would be something emit client to client I solved with peerjs I'll leave the site to anyone...
asked by 25.03.2017 / 22:21
0
answers

Socket between C ++ and C #

I'm facing a problem. I have the server code made in C ++, running on ubuntu. And I have the client code done in C #, running on windows. In the code made in the server (C ++) I came across a problem //recebe tamanho arquivo read(idSo...
asked by 03.03.2017 / 13:13
0
answers

How to change dev-master releases to stable composer

I am creating a sockets package in PHP for Laravel, but I can not just use the composer require because the package is in dev-master and of course I do not want to change my entire main application to accept packages in dev-master. Could someone...
asked by 10.01.2017 / 12:15
1
answer

WEBRTC - Socket node.js

I'm developing an application using the following socket system (Using FireBase) for communication: openSocket: function(config) { var channel = config.channel || location.href.replace( /\/|:|#|%|\.|\[|\]/g , '');...
asked by 09.01.2017 / 18:56
0
answers

Socket X Android

I am doing socket study on Android (an chat with some more functions on other screens) but due to the little knowledge in moment I was 'caught' at one point. How can I create a single connection to the socket in app where I can use this...
asked by 22.12.2016 / 14:09
1
answer

Java Runtime.getRuntime (). exec () Does not execute commands with space

I have a client socket and a server, the client sends a command to the server to run, but when the command has spaces, the server throws an exception: java.io.IOException: invalid null character in command Server Code: import java.io.*; imp...
asked by 30.11.2016 / 17:10
0
answers

Authentication router

I'm trying to get into my Dlink router using C ++ and I'm having trouble logging in! I can not interact with login and password correctly! Sometimes this error occurs or the code .html of the router page says that the username or...
asked by 16.10.2016 / 01:29