The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
26 views

Delay in UDP stream receiver

I have a UDP sender application and UDP receiver application in Qt using QudpSocket. Server sends 14 byte time (count down) packets every second to the receiver using unicast. The receiver ...
22
votes
9answers
2k views

Can I safely ignore byte order in networking?

I am developing a server-client application where the client will run on Windows and the server probably on Linux. Maybe I'll later port the client over to Mac and Linux, but not yet. All ...
4
votes
1answer
95 views

How do async action methods maintain their network connnection?

In ASP.Net MVC, the classic (synchronous) way to write an action method is to return ActionResult. More recently, the ability to perform action methods asynchronously was added, by allowing action ...
2
votes
2answers
71 views

Algorithm for implementing QOS in my proxy

Here's the situation: I'm making a proxy (for the moment running on my laptop) which deals with HTTP(S) requests from incoming clients (for the moment only one client, i.e. my Chrome browser on my ...
1
vote
0answers
18 views

ATM ABR notifying sender [migrated]

I was wondering how exactly does ATM ABR provide feedback to the sender. I understand that it has 3 mechanisms: EFCI bit,CI and NI bits,ER setting Let's assume that some of these bits (bytes for ER) ...
-1
votes
0answers
33 views

Is making a public network of Node.js nodes feasible?

I want to create a public IP network that consists of many different “JavaScript nodes,” all running Node.js. Each node would be on a server with a specific IP address, and would run on an assigned ...
1
vote
1answer
59 views

How to detect network interruptions

I want to write a kind of "diagnostic function" which is able to detect when a TCP/IP based network is interrupted. I would like to connect two endpoints and detect when an established connection ...
1
vote
2answers
176 views

What do we call “ip and port”?

When I'm looping through files and coming up with dynamically created ansible playbooks and stuff like that, I've quite frequently have to work with a single variable that contains the ip and port of ...
2
votes
1answer
110 views

What is an appropriate pattern for handling a queue of network events in C++?

I'm writing an application that sends and receives messages over the network and pushes them into a std::deque queue. and I'm looking for the appropriate programming pattern to handle all of the ...
-1
votes
1answer
85 views

SDL_net how to get the UDP remote address? [closed]

I have a problem with the tcp and udp synchronization. On the server it accepted the tcp connection with the: SDLNet_TCP_Accept(); But now I need to know how to get the remote address of the ...
1
vote
1answer
67 views

Polling without timestamp [closed]

I currently have a requirement to conduct polling in a network where new systems may log into anytime. The idea is that whoever comes online first goes into mode1 while the second guy goes into ...
3
votes
2answers
174 views

Connecting directly to another computer knowing only the MAC address?

From my understanding, ARP translates an IP address into a MAC address, and then the computer uses the MAC address to establish a direct connection. If I already know the MAC address of the computer ...
1
vote
1answer
36 views

Bluetooth - is rfcomm totally bypassable as a protocol?

I ask my question on programmers because: no coding is really involved this question is very conceptual concerning an exchange protocol. Bit of context: When you implement Bluetooth, like I do, ...
3
votes
1answer
95 views

How to handle a client app that connects to a TCP server and sends/receives text data bidirectionally?

I've got a conceptual question (which is probably better posted here than on StackOverflow?). I want to develop a client application that maintains a persistent connection to a server, and exchanges ...
1
vote
1answer
58 views

What mechanism/protocol transmits non-HTML files when downloaded from the web?

When a non-HTML file such as a PDF, DOCX, EXE, etc is made public to the WWW by an HTTP server, and a client makes a request for said file, www.example.com/download?=test.doc what facilitates the ...
14
votes
2answers
845 views

Should UDP data payloads include a CRC?

For a company I used to work for, I had to implement a socket receiver that mostly took data in UDP form over a local connection from some specialized sensor hardware. The data in question was a ...
3
votes
1answer
139 views

Is TCP still considered siginificant overhead compared to UDP? [closed]

I'm working on a distributed application for a graduate class I'm taking. There has been much discussion around implementing a way to maintain peer connection health statuses. Think Gossip. One of the ...
1
vote
1answer
211 views

If I want to build an application to transfer files between client and server, does it have to use port 21?

I'm taking an introduction Networking course and one of the first assignments is to make a simple file transfer application using socket API and TCP or UDP. There is a server and a client. The client ...
0
votes
1answer
89 views

Is this the correct way to think about the client/server socket relationship?

I'm designing a distributed application, very basic for now. The idea is that once the application is active on all machines (about 5 vms), you can initiate a grep on all log files from all machines ...
1
vote
1answer
63 views

Send more data, or do client processing?

I have a conceptual problem that I want feedback on. First and foremost, the layout of my system. It contains a server, with many clients connected to it. The clients get fed data from the server at ...
0
votes
2answers
69 views

Connect PC application to a group of similar hardware devices, using TCP

Our company has started to design a system where many (typically 4 or 6) force-sensitive platforms, containing load-cells, would stream data to the PC via TCP. Each platform and the PC shall be ...
-2
votes
1answer
85 views

What's an effective threading structure for NIO and server performance in C/C++? [closed]

I run into this issue where if I do a read to check for data too often, my CPU skyrockets, and if I don't check often enough, it's slow for client performance. What's an effective way to deal with ...
0
votes
0answers
34 views

Detecting web proxy security

Various online resources offer proxy lists claiming that they offer various levels of anonymity. I'm trying to find out how this can be programmatically tested. I suspect the answer lies in headers. ...
0
votes
0answers
111 views

Calculating audio delay to eliminate echo in VoIP

In this issue, the microphone at point A records audio, compresses it, and sends it to the server at point B somewhere "in the cloud." The point B server then figures out what rooms the recorded ...
0
votes
2answers
88 views

Definition of network connection [closed]

In discussing push vs polling with a colleague, we were trying to figure out if there is a well-defined difference between two sides of a conversation being 'connected' vs being 'disconnected'. For an ...
3
votes
1answer
47 views

How can I get the transit time for packets for a jitter buffer?

I'm trying to wrap my head around the concept of a real jitter buffer. I'm basing the only knowledge that I have around this article: http://toncar.cz/Tutorials/VoIP/VoIP_Basics_Jitter.html This ...
2
votes
1answer
171 views

Best practices for a daemon that forks and becomes user [closed]

I want to write a small daemon in python under Linux that accepts connections and authenticates the user (details for this don't matter) and then forks a child for the connection and becomes the user. ...
1
vote
0answers
239 views

Best software architecture for an efficient network tunneling in C++

Before jumping to my questions, let me explain my project's background. I am part of a team that organize the network of a famous LAN event. Most of the games nowadays actually don't run locally but ...
2
votes
2answers
64 views

Perfect time synchonization betweeen devices

I want to make two devices synchronize metronome over bluetooth/wifi. However I've got no idea how to make it perfectly synchronized. There are two possible solutions that I've found out: Naive -> ...
1
vote
1answer
75 views

Is it possible to implement a robust 2 node P2P protocol? [closed]

I am thinking about how to implement a P2P protocol with only two nodes. At first I read about different DHT implementations in the hope that this scenario would be feasible. Turns out most ...
1
vote
1answer
131 views

How does StackExchange load data from the server without making an XHR request?

When viewing the questions for a tag on SE networks, every now and then you will get a message at the top: n questions with new activity. However the weird thing (to me) is that I don't see any ...
-1
votes
1answer
215 views

How implement an IP stack? [closed]

I want to understand what implement an IP stack means. I explain myself : I've wrote two Java little applications (Client-Server) which communicate over a LAN with TLS. In my code, I didn't have to ...
-1
votes
3answers
327 views

what are the limits of the client server architecture [closed]

i have developed a POS app as a stand alone app with its own database. A customer needs 10 of the app in different PCs, but it should use one database. This quickly brings a solution to mind. A ...
1
vote
1answer
157 views

Setting Up “Internal” Network Between Multiple Servers?

So I have a few servers who handle different things. One is for a forward-facing website, one is an internally used website, as well as a few servers that host DB's. I am in the process of writing a ...
0
votes
1answer
47 views

TLS alternatives that do not require a central authority?

I am creating a peer to peer program that runs on client computers connecting to other clients. I will be using Boost.Asio. The only options that I am aware of for securing these connections is using ...
1
vote
3answers
203 views

Is my auto-update standard reasonable?

I'm looking to come up with a standard for how to implement a system that will automatically update software. As such, there is no actual programming (yet), but I still want to make sure my standard ...
1
vote
1answer
304 views

Finding a solution for interleaving multiple data messages into one network stream (in QT framework)

I need to find a solution for high throughput network data interleaving in my QT framework based windows application. My application is based on server/client architecture. The client connects to a ...
2
votes
3answers
136 views

Architecture for an event admission ticket scanner for events with multiple entries

I am working on a service that lets event organizers sell tickets to their events online (a lot like Eventbrite to be honest). The customers then print the tickets themselves (each ticket has a ...
3
votes
2answers
1k views

Does TCP guarantee packet transmission time?

This is a review question but I can't find anything in my book about it. What I did find online is contradictory and confusing.
5
votes
1answer
1k views

How to programmatically connect to a particular PC of unknown IP from a WiFi network?

I want to connect and transfer data between a PC and an Android device both of which are on the same local WiFi network. I cannot use the local IP as such in the code to actually get the connection ...
0
votes
1answer
498 views

String sentence consistency when sent over sockets

I am learning socket programming. I have a Java application as my server, and C# for the client. Just sending string lines from one to another. Below I have code snippets showing how I am currently ...
1
vote
1answer
258 views

What kind of game mechanics makes sense to be handled on client side? [closed]

I am aware of that is a difficult question and depends on the game mechanics and game type being applied. So, many answers can be given. For the sake of simplicity, it would be better to consider a ...
4
votes
3answers
148 views

How message acknowledge deadlock problem is being solved in real world applications?

To my understanding message acknowledge deadlock problem is this: In order to sync value X between A and B A sends X to B A waits for B to send acknowledgment to A so it makes sure B has latest X B ...
5
votes
2answers
176 views

How to handle a large amount of authenticated clients

I currently have made a multithreaded server in c++ for windows, where each connected client gets a thread to themselves which stays running until the client's socket is closed. When a client ...
2
votes
2answers
5k views

What is a good design pattern to implement REST services on mobile?

It is easy to implement calls to API endpoints, then to parse JSON and handle the data - but what is a good design pattern for this? Here are some ways I have tried but I feel like there should be a ...
1
vote
0answers
43 views

how to combine logs coming from multiple virtual machines for processing?

Scenario: Two virtual machines produce logs. I want these logs to be sent to a central server for processing (as soon as a line of these logs is generated-->streaming ). The condition here is that I ...
0
votes
2answers
612 views

Handling multiple packet types in Java 8

I have a Netty-based game server implementation that handles 40 or so distinct packets with their own serialization structure, for brevity I'll refer to them as FooPacket, BarPacket, ... These packet ...
5
votes
1answer
433 views

“Middle ground” architecture for client-server iOS apps?

I see two obvious approaches to the architecture for an iOS app which needs to talk to a server to do its job. Pretend to be a web browser Under this approach, the app fetches a chunk of data ...
0
votes
2answers
376 views

How to route messages between clients using a central server in Python

I've got three Raspberry Pis sitting around. I want 2 of them to be able to chat while the 3rd routes the messages (acts as a server between them). The general flow of events should be something like ...
1
vote
0answers
100 views

VPN system to analyze users traffic (onavo-like)

I would like to develop a system that is able to analize the network traffic of people using it. I am interested in the URLs that the users request. Let's say the users targeted are on iOS or Android ...