Questions tagged [networking]

Use this tag in reference to any topic related to networking hardware and software. Do not use this tag in reference to personal networking like on social media.

Filter by
Sorted by
Tagged with
-3
votes
0answers
27 views

Networking question - how are blocks to new devices implemented?

My university has implemented a strict new network policy, which we are generally told is "restricted unless permitted" whereas previously it was "permitted unless restricted". For ...
-3
votes
0answers
35 views

How the basic structure of a simple messaging app works?

How the messaging apps works? What is the Basic algorithm of it? I tried the following method to make a messaging app. I enters message Message converts to a text file Text text file uploads to the ...
-1
votes
1answer
72 views

Suitable networking protocols for low latency, one-packet messaging

What would be some suitable transport and application layer protocols for a secure payments network where low latency is a key goal? Here "low latency" means completing an encrypted ...
2
votes
1answer
63 views

The publish-subscribe pattern: garbage-collecting old subscriptions

I've been studying distributed systems design, in particular the Udi Dahan's class. He talks about the publish-subscribe pattern as a common pattern in messaging-oriented designs. There's obviously a ...
-1
votes
1answer
47 views

How can we extend a packet in the case of an overflow?

I have asked this question in stackOverflow, but I guess that maybe softwareEngineering is more appropriate. (here is the question in stackOverflow) I have frames sized with a fixed size of 7 values (...
0
votes
0answers
27 views

Fnding the IP of a specific IoT device on a local network reliably without DNS?

I'm currently designing an IoT device that connects to a home network and an app to communicate over said network. I'm trying to find a way to reliably connect to the IoT device/ make the IoT device ...
0
votes
1answer
39 views

Modbus over TCP concurrency pattern

I'm trying to learn about MODBUS as a free-time project. It is a long standing desire to write my own driver in Golang. That being said, I'm now trying to design the concurrency model for device ...
1
vote
1answer
52 views

Multiple webservices on a single port

I am developing a webservice, which offers different services, but currently under different ports. Existing services like GitHub or GitLab also several services, but I am wondering how they can ...
-5
votes
1answer
22 views

Implementing an intranet software in which client machines get push updates from a server?

I have an existing .net server infrastructure that resides in a company's intranet. Now for a new feature I'd like normal users (employees) to receive notifications on their machines when specific ...
2
votes
1answer
65 views

Publisher-Subscriber architecture with central registry

Problem description Publisher-Subscriber architecture with a central registry where agents can either promote their capabilities or search for a given capability. The project must be developed with ...
-4
votes
2answers
60 views

How do browsers isolate traffic within a single tab?

I know that browsers use a separate port for each tab. However, in each tab, there might be multiple scripts doing data transfer over the network. How does a browser makes sure that the data is ...
0
votes
1answer
60 views

TCP delayed acks vs Nagle's algorithm

When you have an application that suffers from the unfortunate interaction between TCP delayed ack and Nagle's algorithm, common solution offered is to turn off Nagle's algorithm. However, in general ...
-2
votes
1answer
94 views

How do you implement an app autoupdate feature from scratch?

I am trying to imagine how Google Chrome automatically updates but have some questions: Is this against Apple's terms of service? I feel like I've seen somewhere that Chrome for MacOS isn't in the ...
-3
votes
1answer
72 views

What exactly is HTTP/2 protocol

Saw below definition on https://http2.github.io/: What is HTTP/2? HTTP/2 is a replacement for how HTTP is expressed “on the wire.” It is not a ground-up rewrite of the protocol; HTTP methods, status ...
1
vote
1answer
94 views

Are there still reasons to use DNS for load balancing?

I wanted to learn more about DNS, and I happened to have a copy of Computer Networking: A Top-Down Approach 4th Edition lying around. Section 2.5.1 (page 132) suggests using DNS as a load balancer: ...
-1
votes
1answer
46 views

IP Whitelisting AWS consumers

If consumers of my API have their software on AWS, their ip address is subject to change if they are scaling their services horizontally (adding more machines). This means that I can't whitelist a ...
0
votes
1answer
74 views

Prioritizing messages sent over a socket

I'm looking at the source code for a client - server program that communicates using TCP sockets. 5 connections are used to communicate, named very_slow, slow, medium, fast and very_fast. A socket is ...
0
votes
2answers
188 views

Where is the difference with client-socket port and server-socket port?

If we decided to create a (TCP) socket-server (for example) on port 12336 imagine it like a: socket.bind(12336) and then to create a (TCP) client-socket for it, like a: socket.connect("12.34.56.78"...
0
votes
1answer
50 views

How does Packet Loss affect Ping (RTT) calculation?

I am storing my Ping records in a limited queue, and I also have a cumulative sum to get the average. I'm doing it like a window. My problem is this: Does it make sense that I have 5ms Ping with 98% ...
0
votes
0answers
31 views

Implementing SSO for a mobile app connecting to SharePoint

I am currently designing an architecture for a mobile app that renders content from an On-Premises SharePoint Server. The SP-Server sits inside the LAN and is not directly exposed to the internet. ...
3
votes
1answer
93 views

(C++) Ideal design pattern for associating requests/responses on socket?

I'm working on my first big C++ project and while I understand the language I'm trying to learn elegant design patterns using it. I have some low-level networking over a UDP sockets API where each ...
2
votes
1answer
124 views

Determinism for networked games

I am currently making a game project that will have players play together. And i am basically planning to do it by only sending player inputs and have each client run the simulation on the pretence ...
1
vote
1answer
35 views

How HttpResponse is mapped back in case of dynamic IP?

I have dynamic IP provided by ISP. Say IP is x I type google.com in browser. Http request goes to google server IP changes to Y. How does http response comes back to my laptop/broswer when IP changed ...
-1
votes
1answer
80 views

What would be a best design for a 'cloud relay' application? [closed]

I'd like to build a client/server application that doesn't require the client to open a port in its firewall for incoming connection requests. In other words, the clients will be able to communicate ...
0
votes
1answer
87 views

What sort of data limit would make sense for pulling down all data vs autocomplete/pagination via ajax?

Imagine a page with an autocomplete textbox on it, to get Customer. I am wondering what sort of limit for record size makes sense in this day and age regarding whether all the customers should be ...
1
vote
1answer
82 views

Approach to handle network breakdowns in application dealing with database?

I have an application that writes data to database. In case of network breakdowns, the connection to database gets lost & my db queries freezes the whole application. So, in order to make it ...
0
votes
0answers
90 views

How to analyse the throughput of multithreaded client server programs?

I am practicing socket programming in C language. I have two codes - server and client (based on TCP) on two different laptops. The server forks a new process for every new request. For simulating ...
2
votes
2answers
120 views

How to design sequential requests to third-party APIs?

I need to implement the following flow: Back-end makes HTTP request to Service A, waits for a response from Service A, then makes HTTP request to Service B, waits for a response, then makes ...
0
votes
1answer
23 views

Architecture for remote data collection using MySQL

I am working through a MySQL design issue. I have a server with a database of phone numbers used in nuisance calls, like robocallers. I also have remote clients that are provisioned. I want the remote ...
0
votes
1answer
472 views

Network programming (boost::asio), architecture and communication protocols

I'm trying to make a simple network application using boost::asio. I think that I understood the basic things like io_context, async functions etc, but I really don't know how to deal with buffers. ...
0
votes
1answer
1k views

non blocking udp socket send receive

I'm writing some embedded Linux software where we have two microprocessors on the same PCB and they communicate with each other using UDP through a switch that is embedded on the PCB. Each application ...
3
votes
0answers
131 views

Should I use gRpc in my business layer?

I'm moving from REST APIs to gRpc but having a hard time figuring out how to structure my logic. The basic layout of my solution is having a business layer/API and a few different front-ends (Windows ...
-4
votes
2answers
87 views

Should I use async for networking application/library [closed]

I decided to make an application, networking application, don't know what it has to do yet but mainly it should be a cross-client kind of like framework networking application/library. Since ...
2
votes
2answers
167 views

What is the term for a client that does things on behalf of the server?

We are starting to have a few projects that have a design where a web server needs access to services/devices (think database connections and specialized hardware) that are on a local network. Instead ...
-3
votes
1answer
164 views

Is my algorithm for determining whether a ipv4 is public or private correct? [closed]

I have just created a function which checks whether a ipv4 is public or not. I have not heavily tested it yet since it is kind of practically impossible to do so (because I do not know where to start)....
1
vote
0answers
166 views

Separating WebRTC Signal Server and Media (SFU) server

I'm working on a WebRTC VOIP product. I am not using peer-to-peer connections, but instead having clients connect to a SFU which distributes audio to everyone involved in a call. From my ...
0
votes
1answer
55 views

Optimising network data usage in vehicle tracker

I'm currently working on an Android application that broadcasts the location of the device every 5 seconds. Pseudo showing current app process: deviceLocation = getLocation() if (hasChanged(...
2
votes
2answers
598 views

How are transactions on ATMs and their banks typically synchronized?

There are points of failure: ATM gives money then send a deduction request to it's bank. What happens, if the request will fail? the user got the money but his account hasn't been deducted - fail. ...
1
vote
1answer
158 views

Theoretical: How Do Servers Handle Requests With No Spare Memory?

I'm trying to understand how servers handle many requests when they start to run out of RAM. Let's say you have a server with 1GB of idle RAM. Let's pretend it was bombarded with 1024 requests in 1 ...
0
votes
0answers
85 views

How to create a router-like configuration page on Raspberry PI?

We have a Raspberry PI (with raspbian OS) that runs some application, this application uses a local configuration file that contains some data like username, password, server url etc. We will provide ...
1
vote
1answer
698 views

Network Topology for ATM and POS Systems

I'm looking to understand the high-level architecture, topology, protocols and componentry of ATMs and POS systems work with banking institutions worldwide. I've read several half-way decent articles ...
0
votes
1answer
135 views

C# - How should I design my server? [closed]

I'm confused in designing a TCP server with C#. Where should I put my TCP Listener ? inside Program class or create Server class ? or ... Where should I start handling client ? from Listener accept ...
0
votes
1answer
215 views

Handling Networking on Android

While doing Android development. There is really no clear way of doing network operations, sending and receiving data. Currently I am handing it using HttpsURLConnection and having streams to build a ...
1
vote
2answers
358 views

What does it mean for two components to be connected?

It is my impression that in software engineering, a connection can mean many things depending on context and the level of abstraction at which some system is considered. I'm surprised no one has asked ...
1
vote
0answers
44 views

Xamarin communication between devices, not using the internet

How would you go about if you would like to create something like: You have let say 3 devices (can all be iOS or Android, a mix is not necessary) One of the devices would act as a master and the ...
2
votes
2answers
2k views

How do multi packet transmissions work with UDP?

I have been reading up on UDP connections and understand that UDP transmissions are "Best Effort", maybe your data will be received, maybe it won't, and if it is, it could be out of order. What I'm ...
3
votes
0answers
52 views

Layer below Service and NetworkingManager to handle received data

I'm in the early stages of building a cryptocurrency tracking app for iOS and looking for a scalable design. My question specifically relates to the element of the app which retrieves data from an API ...
0
votes
1answer
181 views

Is a URC (Uniform Resource Citation) synonymous with a Query String or Url Parameters?

Reading this: https://renenyffenegger.ch/notes/development/web/URI-URL-URN-IRI-URC URCs provide a set of attribute/value pairs that describe properties of URIs like authorship, publisher, ...
-1
votes
1answer
141 views

How to secure my browser application against malicious requests?

I'm working on an application which can be added to third party websites. This means that this app runs in the browsers of the users of a third party and I don't have control over what runs in their ...
3
votes
1answer
4k views

Can someone implement a custom network protocol?

So in networking class they taught us the OSI model, TCP, CDMA, congestion, frames, etc. What I would like to know if standards that have been around for 20-30 years like TCP, are burnt into today's ...

1
2 3 4 5