The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
41 views

Wifi Communication between two device without intermediary device [closed]

I want to develop an app that will be deployed in two android devices for making them communicate through wifi. And here is the case: Two devices are turning on their Wifi They're not connected to ...
0
votes
2answers
82 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
49 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
0answers
4 views

Problem with Network Type to be used for Java RMI [migrated]

I was installing CentOS Linux distro in VMware Workstation 10 when I stuck across the issue as to use which Networking Option to get my work done. Though I don't know whether it is fit for this site, ...
-1
votes
0answers
93 views

How to design network protocols [closed]

As a programmer, you work on your software design skills. You learn about things such as modularity and reusability and how you can achieve them in code. There's plenty of literature on the subject ...
0
votes
1answer
113 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
35 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 ...
1
vote
1answer
38 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
934 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
210 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
139 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
120 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
423 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
54 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
286 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
90 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 ...
7
votes
3answers
912 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
229 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
366 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
589 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
138 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
264 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
516 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
4k 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
228 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
132 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
259 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
75 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
354 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
212 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
185 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
265 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
240 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
99 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 ...
70
votes
6answers
19k 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
72 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
179 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
522 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 ...
1
vote
2answers
435 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
729 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
84 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
200 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
137 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
262 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
529 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 ...