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

Questions tagged [sockets]

An endpoint of a bi-directional inter-process communication flow. This often refers to a process flow over a network connection, but by no means is limited to such. Not to be confused with WebSocket (a protocol) or other abstractions (e.g. socket.io).

1 vote
0 answers
36 views

Unable to access server running in k8s pod from WSL host with docker-desktop installation

I'm running docker-desktop with WSL2.0 ubuntu on windows. I created a k8s deployment in the wsl ubuntu host. The deployment has one pod where I'm running a simple server program(runs forever, accepts ...
AmiyaG's user avatar
  • 182
0 votes
0 answers
19 views

Can Laravel Reverb (WebSockets) Facilitate Building a Video Call Feature from Scratch?

I am currently working on a project in Laravel 11 and I am interested in implementing a video call feature from scratch. I have read about Laravel Reverb (WebSockets) and I am wondering if it can be ...
saad chabba's user avatar
0 votes
0 answers
12 views

How to add ssl to flask socket server

Currently, I am using a flask server for socket programming. I want the server to run on https instead of https with public static IP. That way the frontend app, which is in React JS, can access this ...
Nayan Mane's user avatar
1 vote
0 answers
59 views

Socket connection to localhost refused

I have a Java Spring Boot application that at the service level creates a Socket connection to localhost and accesses another application written in C++. When I run a Java application on a remote host ...
Neo's user avatar
  • 81
0 votes
0 answers
14 views

IRC Bot Not Connecting Through Proxy Server in Python

Introduce the Problem: I'm developing an IRC bot in Python that needs to connect to an IRC server through a proxy server. However, the bot fails to establish a connection. Expand on the Problem: I am ...
SamunderSingh Adhikari's user avatar
-1 votes
0 answers
21 views

Python threads access the same socket, one sending and one receiving, fails to detect receive data [closed]

The threads are Thread-based classes. Access to the socket is controlled via a Lock. Sending works but reception does not. There is definitely data being sent over the socket in both directions since ...
Musky's user avatar
  • 89
-2 votes
0 answers
27 views

Is it possible to simultaneously execute send and recv on a socket in two different threads? [duplicate]

I am trying to write a simple TCP chat using threading and sockets in Python. And my question is, when broadcasting a message to all sockets, is it possible that the send and recv on a socket can be ...
Ves Blurable Lar's user avatar
1 vote
1 answer
52 views

Sendto works on localhost only

I have been trying to fix this but I think I need your help. I am a newbie and I can't seem to find the issue. The code works when both the source and destination are set to localhost. But when I use ...
X-Maki's user avatar
  • 41
-1 votes
0 answers
24 views

Python socket requests failing in very case [closed]

I have tried over 5 different approaches in python, all of which fail miserably despite people saying that it works on other forums. import socket message = "test" clientsocket = socket....
B Z's user avatar
  • 9
0 votes
0 answers
52 views

Multiple web apps in azure gives socket exception

I'm new to Azure portal and DevOps in general. Some context: I recently created a new App Service(Web app) in azure which will be my production environment. I used the same app plan as my UAT ...
Sebastian Van Rooyen's user avatar
1 vote
0 answers
32 views

Getting client namespace disconnected error on go socket io with client-side in react

I'm trying to create a simple web socket connection between the Go server and React client, but I'm unable to do so, I tried every step possible to solve this but couldn't. Please let me know what I'm ...
Aniket Shukla's user avatar
0 votes
2 answers
36 views

Socket IO is rejecting requests from Nginx proxy

I have this docker application running several containers. One of these containers is a Python application that can handle both socket io requests and normal HTTP requests. Django's ASGI handles HTTP/...
lordsarcastic's user avatar
1 vote
2 answers
41 views

Why is my emitted data not getting recieved on the frontend in react and node js

I wrote this code where I get some data from a function on the server side and that function gives back some data that is then relayed to the front end vis socket.io in node and react however the ...
Divyansh Pathak's user avatar
-2 votes
0 answers
18 views

Open listen socket on a specific IP address using Trio-Python

I have trio.serve_tcp(proxy_handler, PORT) but what I need is trio.serve_tcp(proxy_handler, PORT, host="192.168.1.46") however trio does not support keyword arguments to its serve_tcp ...
David Peters's user avatar
0 votes
1 answer
43 views

ESP8266 is stuck in an infinite socket.accept() loop, i guess?

Ive been working with my ESP8266 and have encountered an issue that seems to be coming from nowhere and being unsolvanle. At least - to me. Basically I went on with this tutorial on building a simple ...
Alex Kolbeck's user avatar

15 30 50 per page
1
2 3 4 5
4441