6,490 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
94
views
Confused about python sockets
I have 2 python programs: 1st one is a tcp server that in while True cycle accepts new clients and handles each of them in a separate thread.
On the client side I have basic functionality and use it ...
2
votes
1
answer
100
views
How can I make my local client-server application communicate on a local socket using docker compose?
I have my client-side code like this where the constant SOCKET_PATH is "/tmp/my_socket":
#define SOCKET_PATH "/tmp/my_socket"
//rest of the code
int main(int argc, char *argv[])
{
...
0
votes
0
answers
343
views
Socket connect() function waits for a long time, how to avoid this? [duplicate]
I am new to socket program and I am facing an issue.
I created a client socket, now I am try to connect to the server using the connect() function. If my server is down or not reachable for some ...
0
votes
0
answers
73
views
Lightweight WebSocket Client-Server for My Java Game – Need Suggestion
I just wrapped up learning Java through theory and tutorials, and now I want to solidify my understanding by building something real.
I’m currently working on a simple two-player arcade-style game ...
0
votes
0
answers
141
views
GET /_next/static/webpack/2ea796388c988d84.webpack.hot-update.json 404 and in 238ms ⚠ Fast Refresh had to perform a full reload
I'm new to next.js and I've struggling with this error for a few days now, I would really appreciate some help. I also got a
"Hydration failed because the server rendered HTML didn't match the ...
0
votes
1
answer
133
views
"Unauthorized" 401 error on making client side upload to Cloudinary
I wanted to use Cloudinary's API to upload images from the client side for my project.
This is an example from Cloudinary's docs to make signed requests from client side: Link to project.
The project ...
2
votes
1
answer
141
views
How do I call async_write multiple times and send data to the server? (boost::asio)
This is the template I'm using:
I got it from github here: https://github.com/boostorg/beast/blob/develop/example/websocket/client/async/websocket_client_async.cpp
class session : public std::...
1
vote
1
answer
93
views
TCP client hangs waiting for data after server calls shutdown() and close() (Boost.Asio) [closed]
Scenario: a server (asio with C++20 coroutines) sending a fixed amount of data (100 * 4KiB) in a loop, after a connection was established to a client.
After this, the server should close the ...
0
votes
1
answer
169
views
Need help to fix communication using GRPC - between client and server
I'm trying to establish connection between client and server using grpc. I'm doing the .proto file approach. I have couple of questions on this.
Does grpc only have to run with HTTPS?
Doeschat.proto ...
0
votes
2
answers
75
views
Socket.IO: No acknowledgment received from client after server emits event
I am using Socket.IO to emit an event from the server to a specific client. The event is being successfully received on the client side, and the client processes the data without any errors. However, ...
1
vote
0
answers
181
views
Having a problem with async_cancel_goal with ROS2 and C++
I am writing an action with ROS2 and it should be canceled when the condition is met. I am checking that in client in feedback_callback:
void feedback_callback(
GoalHandleRecord::SharedPtr,
...
1
vote
1
answer
144
views
How to do RSA Encryption in Python using PyCryptodome
I am new to the world of encryption and I was wondering if my solution for encrypting/decrypting data is okay.
When creating this, I referenced the API documentation from PyCryptodome: https://...
0
votes
1
answer
278
views
Implicit declaration and undefined reference of function 'inet_pton'
I am a student starting to learn socket programming using C, and when I am trying to create a client-server environment I am facing this error while compiling:
if (inet_pton(AF_INET6 , "10.163.3....
1
vote
1
answer
745
views
LOG: 08P01: could not accept SSL connection: EOF detected
I'm setting up post-quantum cryptography (PQC)-based self-signed certificates for PostgreSQL-16.4, aiming to use PQC KEM and DSA algorithms (specifically Kyber768 for KEM and Dilithium3 for digital ...
0
votes
1
answer
88
views
Data lost during client server communication
I am working on a project where I need to convert a string to binary format and implement cyclic redundancy check (crc) on the binary data. The data need to transfer though a client-server ...