Category "tcp"

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

How to properly close a Node.js TCP server?

I couldn't find a clear answer on Google or SO. I know a net.Server instance has a close method that doesn't allow any more clients in. But it doesn't disconne

Socket programming, what about "CLOSE_WAIT", "FIN_WAIT_2" and "LISTENING"?

I am writing a socket based C application which seems to behave in a very unstable way. The code is standard socket handling on TCP port 6683, and I know it has

SQL Server not listening on IP address even if TCP/IP is enabled

I am trying to set up MS SQL Server Express 2019 to listen on TCP/IP and connect to it through IP address instead of shared memory. I am currently connecting th

Consume TCP stream and redirect it to another Sink (with Akka Streams)

I try to redirect/forward a TCP stream to another Sink with Akka 2.4.3. The program should open a server socket, listen for incoming connections and then consum

Can we send data from an android device to another android device directly (p2p) without server in the middle?

I need to send data from one android device to another android device directly(p2p) after they find each other through a server. I read some stuff that this can

Which TCP window update is most recent?

I was writing a TCP implementation, did all the fancy slow and fast retransmission stuff, and it all worked so I thought I was done. But then I reviewed my pack

How to download a file from http using C?

I spent the last days trying to figure out how to download a file from an URL. This is my first challenge with socket and I'm using it to have an understanding

Adb reverse tcp not working on android connected remotely

I am trying to execute reverse tcp command on a android device connected remotely(using adb connect <ip-address>). But I am getting following error while

what exactly is 'flow' in nfdump? can i get tcp sessions with nfdump?

i need to create some statistics from packets in my network interface, but i'm concerned only for my tcp sessions. i thought i could do that with nfdump and nfs