Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [network-programming]

Programming associated with creating and managing networks as well as adding network connectivity to a (set of) programs.

network-programming
0 votes
0 answers
28 views

How to handle if the fd has read and write at the same using select in winsock?

I saw some code examples to explain select() can handle multiple events at the same time as below: FD_SET readfds; FD_SET writefds; FD_SET exceptfds; FD_ZERO(&readfds); FD_ZERO(&writefds); ...
Michael Tsai's user avatar
1 vote
1 answer
31 views

Is there a way to make two pings in one SSH session?

I'm trying to make a script that makes a connection via ssh to a cisco switch, and right there makes two pings one after the other. The problem is when I'm doing it - the output in the second ping is &...
Seggenz's user avatar
  • 15
0 votes
1 answer
35 views

Client-Server Connection Timeout in WSL

I am working on a project where I have a TCP server running inside WSL2 on a Windows machine, and I'm trying to connect to this server from a client running on another machine on the same local ...
Carlos Valeriano's user avatar
0 votes
1 answer
35 views

Why using SSL_peek returns duplicated data?

I made the following code to find the amount of bytes I need to read in order to reach the end of a given delimiter, by using SSL_peek. int TcpClient::PeekEndOfDelimiter(const std::vector<unsigned ...
Jozese's user avatar
  • 35
0 votes
0 answers
14 views

Validator function in Python NDN

I've been working on getting a standard NDN process working, and I cannot figure the validator function out for the life of me, and getting a proper function call for it. This function is required to ...
Zer0's user avatar
  • 11
0 votes
0 answers
44 views

Docker Build Fails Due to Network Connectivity Issue with Prisma (EAI_AGAIN)

I am experiencing a network connectivity issue while building a Docker image for my Node.js project, which uses Express and Prisma ORM to communicate with a PostgreSQL database. The error occurs ...
Rahul Barman's user avatar
0 votes
0 answers
47 views

Request Chunks from the peer in parallel in golang over a tcp connection

I'm building a P2P file transfer system in Go that fetches chunks of data from peers in parallel. While sequential requests work fine, parallel requests using goroutines behave inconsistently, ...
Tarun Kavipurapu's user avatar
0 votes
1 answer
33 views

How to implement 3rd party data fetches in Vite + Vue web-application?

I want to use 3rd party function (actually, it is mine, but written in different time and different file), which requests data via fetch function. In my Vue + Vite application I import that function ...
Sancho Pansa's user avatar
0 votes
0 answers
34 views

Issue Sending Large Custom Waveforms to Function Generator via TCP using socket

I'm trying to send large custom waveforms (up to 50,000 data points) to a Function Generator over a TCP connection. While smaller waveforms (up to 200 data points) are transmitted correctly, larger ...
stnrl's user avatar
  • 1
0 votes
1 answer
34 views

OMNET++ simulation : Class not found perhaps its code was not linked in

I'am having a issue with omnet++ when running my first project and I don't get where the problem is the error is : <!> Class "BaseStation" not found -- perhaps its code was not linked ...
Oumaima's user avatar
1 vote
0 answers
23 views

How to get http path from h2c in net.conn in go

I have a net.Conn, there is a h2c request in it, I want to write a func to extract path in it(from first headers frame) // Get path form http2 func extractPathFromH2Request(conn net.Conn) string { ...
Fangliding's user avatar
-3 votes
1 answer
89 views

How to get the MAC address of my local network interface by win socket or remote ip [closed]

Is there a way to get the MAC address (physical address) of my network interface, through which the socket connection passes, having win socket and remote ip. That is, we have a SOCKET through which ...
Akri's user avatar
  • 1
3 votes
0 answers
31 views

Intercept network packets to userspace and transmit packets to application

I have one application which sends/receives packets using regular glibc read/write/send/recv. I would like a second application to stop the packets reaching the network, receive the packet itself and ...
rare77's user avatar
  • 419
0 votes
1 answer
14 views

Edge-weighted Spring Embedded Layout based on identity in py4cytoscape

I am trying to automate the creation of networks using Cytoscape. Specifically, I want to use the Edge-weighted Spring Embedded Layout based on identity with py4cytoscape. While this layout is ...
Nadia's user avatar
  • 1
0 votes
1 answer
92 views

How to use internal IP for deploying application?

I've been working with MQTTnet recently and I'm having some issues while I try to create a broker and connect to it with a client using another IP which is not the default one, which tends to be the 0....
aurentium's user avatar

15 30 50 per page
1
2 3 4 5
760