The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
32 views

Potholes in a multiplayer snake where players can use their own algorithms

I'm developing a snake-like multiplayer where players can use their own algorithms to determine the next move of their snake. A little background: My game searches a folder for any compatible .jar ...
-2
votes
0answers
64 views

Difference b\w copying a file across network and sending it through programs [on hold]

I am trying to send a 200 MB file to almost 50 client computers in the network using my Software written in JAVA which take around more than 1 hour. But its not same when i try to copy the file ...
-2
votes
0answers
37 views

How to transfer data back and forth between a client and a server on a network [closed]

I have the mandate of transferring data (~3-10mb) back and forth between a client and a server. I ideally need this to work in Windows and Linux. (I would like to stick to c# but can easily ...
0
votes
1answer
54 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
157 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
93 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 ...
2
votes
1answer
67 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
115 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 ...
0
votes
0answers
17 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
172 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 ...
4
votes
1answer
160 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
104 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 ...
0
votes
0answers
49 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 ...
-3
votes
1answer
55 views

In wikipedia it is referred that Remote Socket Address is the Client Socket Address but i doubt that [closed]

In the context of Network Socket , which one is the REMOTE SOCKET ADDRESS?? Does the Client Socket Address refer to the Remote Socket Address?
1
vote
1answer
71 views

Is WCF strictly an asynchonous comms platform?

Since I last had to do any comms/network programming, the field has exploded with acronyms. In fact, networking almost feels like it is now described by a whole new language. The very name "Windows ...
0
votes
1answer
56 views

Socket connection to external IP through server

I am working on an application using sockets. Essentially I want to stream data between two clients. Since I can't connect the two clients together directly (they aren't on the same network), I will ...
10
votes
1answer
627 views

How do sockets work over wireless connections?

I've only worked on client side(specifically, mobile) applications using Android, where all networking is handled at the HTTP layer using framework provided components like HttpUrlConnection. But ...
0
votes
2answers
91 views

Alternative to Static Abstract Property/Method

Since trying to use them will cause an error what is the workaround to get the same effect as them? My Base Class: public abstract class IPacket { public abstract int Identifier { get; set; } ...
0
votes
1answer
101 views

Measuring performance of a network simulator?

I have written a python program to test a new network routing algorithm, that uses a Content Centric Network Approach for handling requests (CCN), where the CCN router keeps 3 data structures: A ...
0
votes
1answer
156 views

How does Telnet work?

Is telnet just a simple socket connection? I usually have a difficult time in the networking area so I use some code from the internet to help me out, but I can't seem to find a library for Telnet in ...
1
vote
1answer
42 views

Best strategy to discover a web service in a local network?

I am currently doing some research for a project. The setup is simple, I have a computer running a service in my home network and any device connected to that same network should be able to discover ...
0
votes
1answer
69 views

Modular Web App Network Architecture

Assuming that I am dealing with dedicated physical servers or VPSs, is it conceivable and does it make sense to have distinct servers setup with the following roles to host a web application? ...
3
votes
4answers
973 views

How can I work out how many IP addresses there are in a given range?

I'm wondering if there is a formula to work out the amount of IP addresses in a given range. I have a system that takes either a single IP address or a start and and end IP address: A single one ...
0
votes
1answer
214 views

Is a popular site like www.google.com served up by one computer? [closed]

In basic networking, we talk about DNS servers, that they resolve human readable addresses (www.google.com) into an actual IP address. As far as I understand, at least using the basics, an IP address ...
2
votes
1answer
268 views

What's the difference between SocketAddress and ServerSocket in Java?

Learning how to develop a small embedded HTTP server for a class assignment, and the examples given on how to use com.sun.net.httpserver.HttpServer use an InetSocketAddress which extends SocketAddress ...
1
vote
2answers
123 views

Algorithm for defragmenting cross-pipe issues in a network for routing signals through?

I have a network I'm responsible for routing signals through. You can think of the network as a directed graph of nodes (hardware) but each edge is really a pipe capable of fitting a specific ...
4
votes
1answer
565 views

Greek philosophers, stone tablets and dumb slaves problem [closed]

This is one of the questions that I came across while preparing for a programming interview. Design a system for Greek philosophers to exchange messages using stone tablets carried by dumb ...
1
vote
0answers
57 views

Scuttlebutt Reconciliation from “Efficient Reconciliation and Flow Control for Anti-Entropy Protocols”

This question might be more suited to math.stackexchange.com, but here goes: Their Version Reconciliation takes two parts-- first the exchange of digests, and then an exchange of updates. I'll first ...
0
votes
2answers
306 views

Android Design - Service vs Thread for Networking

I am writing an Android app, finally (yay me) and for this app I need persistant, but user closeable, network sockets (yes, more than one). I decided to try my hand at writing my own version of an ...
0
votes
1answer
100 views

Handling Server Response Timeouts [duplicate]

Consider the following scenario : User sends a request to transfer money. Server receives the request and transfers the money but the reply times out. The app reports failure. So the user tries to ...
7
votes
3answers
1k views

What skills (technologies) get outdated slower? [closed]

It's a common knowledge that since the IT industry develops very quickly, most of the skills get outdated fairly rapidly: jQuery, .NET, Ruby on Rails, etc. They change all the time so that it is ...
2
votes
1answer
122 views

Is doing some work for credit worthwhile?

Not sure how to title this as it's not just about that. But suppose that there is a software like .NET BCL, and you notice some places where you can make things much faster. It's not a great example ...
2
votes
3answers
1k views

Does data size in TCP/UDP make a difference on transmission time

While discussing the development of a network component for our game engine, a member of our team suggested that transmitting either 500 bytes or 1k of data using UDP makes no difference from ...
8
votes
3answers
1k views

How to sync clocks over networking for game development?

I'm writing a game that has a lot of time based aspects. I use time to help estimate player positions when the network stalls and packets aren't going through (and the time between packet's being ...
0
votes
1answer
240 views

alternative to environment variables

The amount of servers and the complexity of our application is growing and we now have servers in different regions (hosted on AWS). Certain database operations require low latency so we have stuck a ...
0
votes
1answer
403 views

How to calculate throughput if there is network traffic

I came across this question in a textbook, but there are no solutions and I'm not sure how to solve this. The question is: Suppose Host A wants to send a large file to Host B. The path from Host A to ...
0
votes
1answer
717 views

Base64 decode and SH1 decryption of Sec-WebSocket-Accept value example from Websocket RFC

I am planning to implement the Websocket protocol and currently learning how handshake headers must be structured. According to this link http://datatracker.ietf.org/doc/rfc6455/?include_text=1 ...
3
votes
2answers
121 views

Prevent anomalies caused by signal propagation time

In electrical engineering class we learned that signal lines are not ideal, so it takes time for the signal to reach the other end of the cable, and if we doesn't take this into account, it can lead ...
0
votes
1answer
164 views

Are Python sockets suitable for file synchronization?

I'm working in an organisation with limited funds. They can't afford a business account on Dropbox. However, they would find it useful to have all their files synchronized on local machines. I've ...
0
votes
2answers
283 views

Use client to access database or server to access database

I' creating a client server application in which I need to update a particular database. I'm using python with MySQL. There are two options: I use a client.py and server.py, the client.py can send ...
2
votes
3answers
581 views

How to get a Web Application to communicate between users

I am developing a multipalyer web Application for Anti-Chess. It would be hosted on Google App Engine. I have a few questions: How do I get two different users who have opened the webapp on their ...
3
votes
1answer
5k views

Non Blocking Sockets vs Blocking sockets - UDP - C&linux

When to use blocking sockets over non blocking sockets on UDP? Question 1:What's is recommended for the following scenario ? Multiple clients send data over multiple UDP sockets, i.e. say client1 ...
1
vote
6answers
1k views

UDP order of packets with direct connection

If i have two systems (A and B) running on LAN(INTRANET) which are directly connected. There are no routers in the middle. In this case, if system A sends a few UDP packets every few milliseconds to ...
1
vote
1answer
245 views

Handling timeout in network application

How can I handle timeouts in a network application. I'm implementing a provisioning system on a Linux server, the code is huge so I'm going to put the algorithm, it works as like this Read ...
0
votes
1answer
136 views

Server distribution for high performance

I've developed a Socket Application on top of TCP in .NET C#, which allows many clients to send files from one another via a VPS I'm using. Most file transfers will occur between people in the same ...
2
votes
4answers
261 views

Theory about software communications mixing up with other software causing an Apocalypse?

I can remember a very Very long time ago (pre Y2K) , reading an article by some "expert" that theorized that software communicating over the internet, especially video games could get mixed up with ...
0
votes
1answer
76 views

How can a server initiate request in SIP protocol?

Either a client or a server can initiate request in SIP. How is it possible? How will the server know about the client?
2
votes
1answer
402 views

Game Netplay Rollback System

Can one explain the specifics and details of a netplay framework for a game that optimizes connection through a "prediction / rollback" mechanic, as seen in games where speed is a priority ...
-2
votes
5answers
213 views

How to better performance [closed]

In one of my interviews I was asked a vague question, I'm still not sure of the answer. We have a client and a server they are placed apart. The network that connects them has high latency, which is ...
3
votes
1answer
194 views

Sockets intricacies in TCP and UDP

I am quite familiar with TCP and UDP. I understand the process by which TCP establishes connections and other theoretical facts about TCP but when reading up about TCP hole punching for NAT ...