6,493 questions
0
votes
0
answers
92
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 ...
0
votes
0
answers
317
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
128
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 ...
2
votes
1
answer
131
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::...
0
votes
1
answer
148
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
72
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
1
answer
128
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://...
1
vote
1
answer
725
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 ...
1
vote
1
answer
224
views
Correctly tear down process when using pytest with multiprocessing
I am working on a package that includes a server with the corresponding client.
I was thinking that I could save a lot of effort mocking all the interactions and just write some test cases that test ...
0
votes
0
answers
61
views
Why is the ServiceHost throwing an exception when I add a UdpAnnouncementEndpoint to ServiceDiscoveryBehavior?
The ServiceHost is throwing a NullReferenceException when I try to facilitate the service announcement. I do it exactly as described here
Below is a complete running code illustrating the problem.
I ...
0
votes
1
answer
103
views
How do webhooks work in contrast to the typical client-server model
In the typical client-server model, a server cannot send data to a client without an explicit request from the client. However, webhooks seem to operate differently.
I understand that webhooks allow a ...
0
votes
1
answer
188
views
Problem connecting Delphi client application to service via TCP/IP
I'm trying to connect my client application written in Delphi to a service running on a server using TCP/IP. The service is also written in Delphi and uses TIdTCPServer to listen for connections. When ...
-1
votes
1
answer
75
views
Android post request does not have application/json body
I m training with http request via android client and a server, using Okhttp3 module. I already used get request with no problems, but when I try post request they don't reach the server.
Using some ...
0
votes
1
answer
123
views
How to handle long datatype between 64-bit Unix and Windows Applications?
I'm working on a C++ Client Server Application where client is on Windows and Server is on AIX. Both the existing applications are on 32-bit and we are planning to move them to 64 bit.
As per the ...
0
votes
1
answer
50
views
How to cleanly kill a "while true" thread in python when this thread was created inside another thread?
In the project I'm working now, I have the task to create a server-client program in python.
The idea is to have "n" remote devices connected to a server. Through socket programming, the ...
1
vote
1
answer
57
views
Can't parse multiple files with Go MultipartForm
I'm building a simple file uploader, basically for learning/testing purposes, using Vue for the front-end and Go for the back-end. Here's the code
<template>
<div class="adddocument-...
1
vote
0
answers
124
views
Full duplex named pipes on Windows
I would like to implement full duplex named pipe communications on Windows. The server needs to be in C++, and needs to be able to connect to multiple clients simultaneously. The client needs to be ...
1
vote
0
answers
110
views
Errno 111 connection refused
I’m trying to write a program that transfers real-time video from a Seek thermal camera integrated with raspberry pi 3b+. The setup includes a flask server with websocket protocol and PC, where the ...
1
vote
0
answers
53
views
socket io - client with app rouer next 14
hi I try to connect to socket-io and I get this error, is there anyway i can fix this error?
uncaughtException: TypeError: isValidUTF8 is not a functionat module.exports.isValidUTF8 (webpack-internal:...
-2
votes
1
answer
199
views
Wireshark didn't display the IP addresses and port numbers of the server and client, despite successful message exchange. How to fix this issue
set up UDP client-server communication and installed Wireshark on Ubuntu to monitor packet capture . However, Wireshark didn't display the IP addresses and port numbers of the server and client, ...
0
votes
1
answer
181
views
How to receive large data more than 1024 in CoAP Client
/*
I am sending a response from CoAP server to CoAP client which is more than 1024 size. But, I am not able to receive the complete data in CoAP client. I could receive only 1024 size of data.
API ...
0
votes
0
answers
77
views
Encryption: How to recover encrypted primary key encrypted using PBKDF2 if password is lost by user? How can recovery mechanism be implmented?
As title says,
I've generated primary key as:
async function generateKey() {
const key = await window.crypto.subtle.generateKey(
{
name: "AES-GCM",
...
0
votes
0
answers
70
views
FTPSClient listfiles throwing error when apache commons net upgraded from 3.7.2 to 3.9.0
Exception in thread "client" java.lang.NoSuchMethodError: org.apache.commons.net.ftp.FTPSClient.getDataTimeout()Ljava/time/Duration;
at org.apache.commons.net.ftp.FTPSClient....
2
votes
0
answers
56
views
Simple python Client Server using socket, single entry point
I'm developing a simple client/server application that requires a single entry point (called from an external process); to make it simple the current architecture kinda looks like this:
Client.py <...
0
votes
0
answers
17
views
Implement select in i/o socket receiving messages from other client through server
Ok so I have an assignment and I need to use select to handle receive because it is a blocking function , but I cant get the syntax of select right I read about it but I didn't understand how to ...