Category "tcp"

Dfinity internet computer - error during communication with the replica

I'm following the quickstart local development setup on an Ubuntu v20 machine I'm getting the following error on dfx deploy: An error happened during communicat

Rust Tcpstream: reading http request sometimes lose the body

I am learning how to write a http server using tcpstream with rust. I use this function to read stream buffer. fn handle_connection(mut stream: TcpStream) {

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

TCP Client becomes unreadable after server restart

Code: while(true) { Int32 port = Convert.ToInt32(Port); TcpClient client = new TcpClient(server, port);

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

TCP connection HoloLens2/ PC

I would like to create a TCP connection between a HoloLens2 (Client) device and my PC (W11, server). I already tested this app on another HoloLens2, the connect

Client socket coded in ASM (FASM) does not connect to Server

I am creating a communication between a client and a server via tcp/ip socket. I am developing the client in ASM (FASM) and I cannot connect to the server. The

Sim7080G module can't send data over TCP while using GNSS

I bought a Simcom (Sim7080G) module to use it for geolocation and send data over TCP. These modules are quite new on the market (it was first launched in mid 20

TCP Client/Server hosted in Kestrel

I would like to create a simple TCP Server / TCP Client and use a Controller to interface with that classes, to then host the controller in a kestrel webserver

Two Identical applications which communicate over a TCP socket connection on the localhost

C#/XAML .NET WPF ... Both applications need to have the ability to connect with each other, and both should have listeners. How would I do this as I know that u

Investigating TCP retransmit intervals, max throughput and packet loss rate

John is flying from Amsterdam to New York. Once inside Departures, he realises that he has forgotten an important MS Excel document and connects to the Airport

a TCP client communicating with a server set on ESP8266-01

I'm setting up a TCP/IP communication between an android app and an ESP8266 module connected to Arduino uno. I'm using AT commands to set up the server as follo

Is there a way to send message to a specific client in a multithreaded TCP server?

I have made a tcp multithread server which is always listening to new connections and at the same time handling existing clients. If i have 2 clients, lets say

Strange delays in websocket data transfer from Ubuntu-hosted wifi access point

I have an application that is streaming jpeg images from an Ubuntu machine over a wifi connection. The wifi network is an access point/SSID hosted on the Ubuntu

How to customize QModbusDataUnit to send hex values in modbus?

I would need to customize the QModbusDataUnit by sending custom hex via modbus, below my code, I'm trying to customize the post but I do not understand how to d

Node.js tcp socket shut off trigger

I use node.js with the NET class to connect multiple Rasperry Pi's. //Server const net = require('node:net'); const server = net.createServer(); //Client c

Confusion with AF_INET, with SOCK_RAW as the socket type, V/S AF_PACKET, with SOCK_DGRAM and SOCK_RAW as the socket type

I am quite new to network programming and have been trying to wrap my head around this for quite sometime now. After going through numerous resources over the i

Convert UDP to TCP - Ngrok TCP => UDP

I'm in a hurry at the moment. My Question is, is there a way to forward UDP to TCP port? I need this for hosting a game server for my friends, I want to host C

Why is socket linger used after socket close?

I looked at documentation about this but shouldn't a socket linger be declared before the close so the program doesn't immediately abort before it knows what ki

TCP Send Buffer not doing anything

So i am experimenting with socket buffer sizes and have created 2 test cases Case 1[server sends data to client] First we have a server which sends 100 bytes of