Category "sockets"

W/System.err: java.net.SocketException: socket failed: EACCES (Permission denied) in android

Tying push the data from my application to local server. public class MainActivity extends AppCompatActivity { Socket socket; private static final String SER

how to share my slack App to Other Workspaces with Public Distribution way

I created a slack app with socket mode and I have one question about distributing my app: If I want to publicly distribute my app, I know that " Apps using Sock

how to send a tcp acknowledgement within a specific time interval

I am required to send a tcp acknowledgement to a message from a server within 2000ms, else the socket connection will be closed by the server. How do I ensure t

Can I delete a UDS Socket file using "rm" command

If a process was abruptly stopped by using "kill" command and due to that it wouldn't delete the UDS sockets that were created by that process. In such cases, c

Expected Type Bytes and got str instead udp client error

import socket target_host = "127.0.0.1" target_port = 80 # create a socket object client = socket.socket(socket.AF_INET, socket.S

python import socket class from other modules

I have created a class(object) connection_manager using socket TCP in a module (connection.py): #file connection.py HOST = "127.0.0.1" # Standard loopback inte

NodeMCU net server listen gives error out of memory in lua (esplorer)

I have one error here that I don't know how to solve and didn't find a working solution on the Internet. I have a NodeMCU 12 E. and I want to transfer data from

socket.timeout on telegram bot.polling()

When I leave my program running for a few hours and then send a message to the bot it doesn't reply and after a while it generates the following error. Tracebac

Set request timeout at connection pool level using hackney and HTTPoison

I am using httpoison which uses Hackney under the hood to make HTTP requests. By default, Hackney uses a default connection pool which is created with - connect

Using ssl.wrap_socket to create a socket, gives a security hotspot in security scanner

The scanner is highlighting the below line as security hotspot. mysocket = ssl.wrap_socket(http_server.socket, keyfile=self.keyfile, certfile=self.certFile, ser

OOP sobreencapsulation

Lately I've been learning something about blockchain and I decided to try to make one in c++, without libraries that were made specifically for that, just with

Using SocketIO with Unity Quest 2 vr as client and Node.JS as server

Me and my team are building a VR game for the Quest 2 with Unity written in C#. We have a program that is the server that is written in JavaScript (Node.JS), th

OS Error: Connection refused, errno = 111, address = 127.0.0.1, when trying to run a hello world blockchain app

I'm trying to follow this GeekForGeeks tutorial on mac M1 via emulator but I'm seeing this error Unhandled Exception: SocketException: OS Error: Connection refu

c port listener client disconnects after 1 message

I did create a program that listens on a port and prints the message out on the terminal. My problem is, that I want to connect with telnet (telnet localhost 13

Multithreaded socket programming : sharing variable

Hi I want to implement a ring of sockets .For example IP address 127.0.0.1 listens to 127.0.0.3 and this one listens to 127.0.0.2. They are supposed to share so

How to handle keep alive received probe on python server

In a python-written server with TCP socket defined as follows: def create_tcp_socket(bind_address): sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

How to read each char sent by Putty at Java server?

After forcing off the "Local line editing" at Putty (Raw mode), all chars typed are sent to the server without the Enter (checked it with Wireshark). I have thi

linux socket lose data when a delay is added before read

I am learning linux socket programming, I expect that server can read data, even I add a delay but it just drops the buffer data, and receive the recent data, t

Removing video of the early joined user from the latter joined users's screen when the early joined user left the video in socket.io

I am trying to implement the video call functionality in socket io. The issue is that wheneverthe previously joined user lefts the call, his video is not remove

Nodejs Game using too much cpu/ram

I am making a Nodejs Multiplayer game. PROBLEM: After a period of time, around a few seconds, the latency between the server to client skyrockets. Not just a li