Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
52 views

I have a win32 app opening a log file on a network share using CreateFile and WriteFile (non overlapped) to write records. What I am seeing when the network share is lost, WriteFile reports an error (...
Paul Marriott's user avatar
1 vote
1 answer
88 views

I'm encountering a consistent Connection timed out error when my application, running on a local development server, tries to make HTTP requests to a specific external website. The site loads ...
Oliver Haven's user avatar
2 votes
1 answer
113 views

I'm writing a TCP/IP stack for embedded systems, but I wanted to test it on my host system. Originally I tried with tap0 + a bridge. But I quickly realized it would make the most sense to bind to the ...
Charles Lohr's user avatar
  • 1,021
0 votes
0 answers
55 views

I'm developing a Flutter app that loads a web page containing an embedded video player. When the page loads, the browser internally makes several HTTP requests (for example, .m3u8 or .ts files), but I ...
mikealexx's user avatar
3 votes
2 answers
153 views

We use the following function to test internet connectivity every 5 seconds. But in some part of the world, this function always returns false. Now, the problem is we can set a proxy server in Windows ...
Ming's user avatar
  • 595
0 votes
0 answers
75 views

I am working on a C++ program on Linux that involves interacting with network namespaces (netns) and a TAP device. My procedure is as follows: My process starts in an initial network namespace (e.g., ...
Aythsr's user avatar
  • 1
-1 votes
1 answer
77 views

I’m trying to start a per-shard TCP listener in Seastar, where each shard binds to its own port (6010 + shard_id). On shard 0, everything works — the listener binds and accepts connections fine. But ...
Somesh Mohan's user avatar
0 votes
1 answer
192 views

Assuming we know the key and the IV for the data we're getting from the stream, is it possible to decrypt it within stream? I encrypted the same message three times and then decrypted it all at once, ...
user30252103's user avatar
3 votes
1 answer
194 views

I need to use socket() but the args given to the function make me confused. I have to do an school exercice where I have to use socket for intercept ethernet frame (more specifically arp spoofing). ...
surcouf's user avatar
  • 33
0 votes
0 answers
103 views

I'm analyzing a binary protocol captured via IRP_MJ_READ. Each message is 11 bytes, and I suspect the last 2 bytes are a CRC-16 value.Here’s an example of the message in hex: 00 02 c1 00 10 00 00 00 ...
Hasan Abo Ali Alhaj Juma's user avatar
1 vote
0 answers
117 views

I’m working with a Linux TUN device (MTU 65535) where I write jumbo TCP packets (10KB+), and my goal is for the kernel (via software GSO) or the NIC (via TSO if available) to segment them into MTU-...
Alex Barysevich's user avatar
3 votes
1 answer
128 views

I have written a database server and client, and i'm using a poll loop #include <stdio.h> #include <stdbool.h> #include <getopt.h> #include <stdlib.h> #include <stdlib.h> ...
Kouroshtkk's user avatar
2 votes
0 answers
203 views

I can connect a Unix server and client socket just fine, but only if they are on the same machine. My code does not work even if they are running on separate machines connected to the same router. To ...
Jen's user avatar
  • 21
1 vote
0 answers
260 views

I'm using Rust's std UdpSocket to send data from one socket to another one locally. It all works fine if I set no read timeout or if I set a "big" read timeout like 10ms. Once I set the ...
Tim Woocker's user avatar
  • 2,046
0 votes
0 answers
109 views

Tried to run this script in application env and just commands on their own in terminal. public resetNetworkAdapter(): void { // windows reported everything is OK for most of adapters, // but ...
bl4z3rr666's user avatar
0 votes
0 answers
36 views

My frontend in react is unable to resolve name 'backend' in python. I am using docker-compose. The docker-compose.yaml file is given below. What's wrong? version: '3.8' services: # PostgreSQL ...
user1288043's user avatar
0 votes
1 answer
100 views

Title: Warning Signs in INET 4.5.4 with OMNeT++ 6.1 Despite Successful Build — Still Getting Runtime Errors Hi everyone, I’m working on a project using INET Framework version 4.5.4 with OMNeT++ 6.1, ...
user20079303's user avatar
2 votes
0 answers
52 views

Consider the following sample code: #include <iostream> #include <string> #include <cstring> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #...
Jean-Michaël Celerier's user avatar
0 votes
0 answers
53 views

client.cpp #include <sys/socket.h> #include <unistd.h> #include <netinet/in.h> #include <arpa/inet.h> #include <iostream> #include <string.h> #include <fcntl.h&...
abrar's user avatar
  • 1
0 votes
1 answer
52 views

Getting into protocol development with Scapy, going through documentation and watching videos on Scapy but I'm a bit confused with field types. Let's assume something generic for a packet structure: | ...
Darkonode's user avatar
2 votes
1 answer
107 views

I was writing a simple C server and experimenting with setsockopt, so I wrote the following: int lsock = socket(AF_INET, SOCK_STREAM, 0); int mss = 576; if (setsockopt(lsock, IPPROTO_TCP, TCP_MAXSEG, ...
Armaho's user avatar
  • 57
1 vote
0 answers
45 views

Is there a way for a MESH_ROOT to scan for Access points? I have read WiFi API functions should not be used while WiFi Mesh is active. Is what I am trying to do below possible? Or maybe there is a ...
ADL's user avatar
  • 121
0 votes
0 answers
64 views

Does the igc driver support AF_XDP TX at all — even in copy mode? Has anyone successfully used AF_XDP with an Intel i225/i226 NIC using igc? Would really appreciate confirmation, success stories, or ...
Hosein Kangavar Nazari's user avatar
0 votes
1 answer
59 views

I am making a median joining network to evaluate mutations among populations at the mitochondrion. I would like the topology of the output from the application popart to be preserved, and I would like ...
n rank's user avatar
  • 31
0 votes
0 answers
22 views

in device.OnPacketArrival, how do I catch only the first packet? TCP. I'm building a simple port scanner based on the TCP 3-way handshake. The code for device.OnPacketArrival: if (tcp != null &&...
João H.'s user avatar

1
2 3 4 5
952