Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
14 views

Understanding socket.SOL_SOCKET and socket.SO_REUSEADDR in Python [duplicate]

I'm currently working on a network application in Python, and I've come across the socket module's constants socket.SOL_SOCKET and socket.SO_REUSEADDR. I'm a bit confused about their purpose and how ...
Naresh R's user avatar
1 vote
0 answers
86 views

Minecraft TCP Socket Connection

I'm trying to make a MITM to check the packages passed between the Minecraft client and server, but I'm having a bit of a problem. There doesn't seem to be any connection problems. I'm passing a proxy ...
Gabriel Jungles's user avatar
0 votes
0 answers
14 views

socket.io connection error "chat.js:41 WebSocket connection to 'wss://authbackend-74z0.onrender.com/socket.io/?EIO=4&transport=websocket' failed: "

How can I resolve the WebSocket connection error when connecting from a React client to a Node.js backend hosted on Render, where Socket.io and Express are both listening on different ports within the ...
Shahid Raza's user avatar
0 votes
0 answers
49 views

Socket connection from emulated android phone to Python server

I am trying to establish a connection between a mobile app and a server. For testing purposes I have the server set up on the same machine. However, if I try to establish the connection through the ...
Barış Utku Ünsal's user avatar
0 votes
1 answer
54 views

Can't stop socket server thread from within

I have the following situation: I have a class called Server, which is, as the name tells, the class which starts the server and is supposed to stop it. Here's the code: import socket import threading ...
Alexander Chereji's user avatar
0 votes
1 answer
48 views

Python server using the socket module not working over two devices over two different locations [duplicate]

This is my first project working with sockets and unfortunately, it's been quite painful. I'm trying to make a simple chatroom, however, it only ever works when the socket IP is local (e.g. 127.0.0.1)....
Lurker's user avatar
  • 1
0 votes
0 answers
24 views

How to connect to local machine over static global IP with python

I have a program on server. Program is running on some port, like 30000, as example. I have a client, which is connecting over socket to the server with server's local ip and port (30000). (Both, ...
Mika's user avatar
  • 139
0 votes
0 answers
30 views

How to check if the remote server is available before flushing buffered output stream in java [duplicate]

I am trying to flush data in the output stream to a remote server. I want to check if the remote server is up and running before I perform BufferedOutputStream.flush(). It is expected that this ...
GAGAN GOWDA's user avatar
0 votes
0 answers
31 views

facing Socket Disconnection Challenges in Agora-Powered Live Streaming App in node.js

Hello fellow developers we are building a Live streaming mobile app in Flutter and node.js as the backend and using Agora as a live streaming provider, In parallel to Agora we are using socket.io to ...
Vikram Malihan's user avatar
-1 votes
1 answer
155 views

How to fix a connection issue with my C++ Client?

Everytime when I've tried to use my client to connect to the server on port 2997, it simply didn't work. Nothing happens, no message confirming and no error message. I executed the client as Admin on ...
César Espíndola's user avatar
0 votes
0 answers
43 views

Want to make it so when button is press the chat gui and the server starts but just getting connection refused?

I'm trying to make it so when I press the sign on the button, it should get the IP and PORT from the entry boxes like it does for the client, however, the client seems to not want to connect, which ...
AlexanderWaller's user avatar
1 vote
1 answer
73 views

Limit of simultaneous possible connections to the server (TCP)

I've written server and client modules in C++ on Linux Ubuntu 22.04 that allow multiple clients to send messages simultaneously to the server. If one of the clients writes "Hello": server ...
daryldxn's user avatar
0 votes
1 answer
1k views

python: make websocket connection to elevenlabs with websocket-client

In elevenlabs you can now use the stream feature also with input stream. However, a socket connection must be established for this. Unfortunately I have to implement the websocket connection myself ...
themweo's user avatar
2 votes
1 answer
96 views

Why does my C++ Asio TCP server disconnect previous clients when a new one tries to connect?

I tried setting up a simple client-server tcp program using Boost::Asio features wrapped up in my "physicalserver" and "physicalclient" classes. On connection, the server tries in ...
darkonaito_'s user avatar
0 votes
0 answers
118 views

Python socket connection opened but no data is transferred

I have been using sockets for a while in Python, but I recently observed some unexpected behavior when the script is being run for a long time. Basically the connection seems to still be alive while ...
Alejandro Saldarriaga's user avatar

15 30 50 per page
1
2 3 4 5
38