The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
202 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
69 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
113 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
339 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
47 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
1answer
247 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
79 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
121 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
815 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 ...
7
votes
3answers
752 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 ...
1
vote
1answer
216 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
360 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
459 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
119 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
0answers
32 views

VNC client for my netbeans IDE to invite the freelance developers in my project? [duplicate]

I need your help to find a VNC client software or any other distributed software development techniques to share my netbeans IDE with some freelancers over the internet, Well I have a complex web ...
0
votes
1answer
130 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
230 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
442 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
3k 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
859 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
214 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
122 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
256 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
70 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
323 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
211 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
182 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 ...
1
vote
1answer
257 views

What happens when an unexpected packet arrives at a computer? [closed]

I have been wondering this for a few days. I basically understand how networks and packets work. But what happends when an unexpected packet arrives? Like, when I didn't send a request for a website's ...
1
vote
2answers
217 views

Implementing the transport layer for a SIP UAC

I have a somewhat simple, but specific, question about implementing the transport layer for a SIP UAC. Do I expect the response to a request on the same socket that I sent the request on, or do I let ...
2
votes
1answer
88 views

How does recording video and playing it back in realtime work? [closed]

I am looking to understand how recording video (and audio) and playing it back in realtime work (on the same pc or over a network)? I understand for a file stored on the disk. You read it and play it ...
68
votes
6answers
17k views

Difference between a socket and a port

Could someone please explain quite clearly the difference between a port and a socket. I know that a port serves as a door into the network for an application process and that the application process ...
3
votes
1answer
70 views

Event system architecture for networking when performance is concerned

How should I design a system for an action game (think in Golden Axe) where events can happen remotely? I'm using TCP for this because the client is in flash. There's so many options, I can make a ...
2
votes
1answer
168 views

Setting source IP with posix sockets

Is it possible for an application to request a socket (tcp) and have it set the source address without using raw sockets? (the addresses would be bound to the interfaces. [no spoofing]). This would be ...
0
votes
3answers
472 views

Reconstruct a file from a TCP stream

I have a client and a server and a third box which sees all packets from the server to the client (but not the other way around). Now when the client requests a file from the server (over HTTP), the ...
0
votes
2answers
408 views

Would a typical corporate firewall block a Java applet having the following behaviour

I'm thinking of developing a proxy-like program to forward ports on a remote PC to a local PC (for example SSH). Assume that both local and remote PCs are running behind typical firewalls (i.e. ...
1
vote
1answer
668 views

Serializing network messages

I am writing a network wrapper around boost::asio and was wondering what is a good and simple way to serialize my messages. I have a message factory which can take care of dispatching the data to the ...
0
votes
1answer
82 views

Why are there proxy processes between clients and logic processes in C/S application?

In real world networking software following c/s model, there are always proxy server processes between clients and server processes dealing with business logic, why we need proxy to isolate the logic ...
10
votes
3answers
196 views

How could I avoid a distributed deadlock during a mutual connection between two nodes?

Suppose we have two peer nodes: the first node can send a connection request to the second one, but also the second one can send a connection request to the first one. How to avoid a double connection ...
1
vote
1answer
132 views

How related is coding/information theory to computer networking?

I am taking a networking class(data communication) this coming semester. In many courses in my computer engineering degree, the books lack mathematical content. I am not a math wizard, but I think ...
5
votes
1answer
238 views

QoS implementation algorithm

I'm working on an application, that does IP routing and QoS. Today we have the QoS implemented, with 3 priorities (low, normal and high) and for each level we create a Queue and as soon as the ...
13
votes
2answers
518 views

What is Curiosity's packet structure?

For NASA's Interplanetary Network, what does a packet look like? It's obviously a form of redundant protocol, stored at the receiver and with built back up. Is there any documentation on the packet ...
1
vote
4answers
295 views

Is restricting sessions to an absolute IP likely to have a wide impact on mobile networks?

Our website currently restricts a cookie-based session to the IP address that was originally sent the Set-Cookie HTTP header. In the past a user's IP would rarely change, so this didn't present much ...
2
votes
2answers
767 views

Is it wrong to push messages from server to client in a client-server application?

I practically never see any web application where server pushes messages to the client. While pushing messages from server to client is hugely used in multiplayer games, why this model is so underused ...
0
votes
1answer
112 views

Multiplayer Game Listen Servers: Ensuring Integrity

I'm making a simple multiplayer game of Tic Tac Toe in Python using Bridge (its an RPC service built over a message queue - RabbitMQ) and I'd like to structure it so that the client and the server are ...
8
votes
1answer
3k views

Why did Golang discontinue the “netchan” package?

The Golang "netchan" package seems to have been discontinued. That makes me think that the concept of "networked channels" were not a good practice after all. (Why wouldn't them just "let it be" ...
-1
votes
1answer
183 views

Any one ever heard of the term collapsed Backbone? [closed]

Any one ever heard of the term collapsed Backbone? Could it be a virtual network that could be referred also to this term.
2
votes
2answers
300 views

Communication between state machines with hidden transitions

The question emerged for me in embedded programming but I think it can be applied to quite a number of general networking situations e.g. when a communication partner fails. Assume we have an ...
0
votes
2answers
481 views

tcp retransmission queue

I'm trying to understand how tcp retransmission queue works so I can implement it in my application that uses TCAP over SCTP. What I understood from the TCP queue is that every message is saved in ...
1
vote
4answers
589 views

data structure for file search

I've asked this question before and I got a few answers/idea but I'm not sure how to implement them. I'm building a telecom messaging solution, currently I'm using Database to save my ...