A computer network, or simply a network, is a collection of computers and other hardware components interconnected by communication channels that allow sharing of resources and information.

learn more… | top users | synonyms

62
votes
4answers
12k views

IPv4 to IPv6. where is IPv5?

As all of us know that after IPv4 it came IPv6. How this transition happened? I just want to know was there any IPv5 also? or there is any other logic in naming this version of IP as IPv6?
0
votes
1answer
36 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 ...
70
votes
6answers
20k 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 ...
9
votes
2answers
698 views

How to divide work to a network of computers?

Imagine a scenario as follows: Lets say you have a central computer which generates a lot of data. This data must go through some processing, which unfortunately takes longer than to generate. In ...
1
vote
2answers
69 views

Estimating file transfer time over network?

I am transferring file from one server to another. So, to estimate the time it would take to transfer some GB's of file over the network, I am pinging to that IP and taking the average time. For ex: ...
-1
votes
2answers
87 views

What interface does python use to implement sockets?

When I programmed in python, I believe I interfaced with the transport layer using sockets. If python was programmed by humans, they must have used an interface that was "lower" than sockets, to ...
3
votes
4answers
944 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 ...
-2
votes
1answer
104 views

How can I have a shell script log into a remote server and execute imqcmd there? [closed]

I want to write a shell script to connect to the remote server and execute a command (any linux command). I am using linux and want to prepare a shell script which can login to the virtual directory ...
0
votes
1answer
130 views

Euclidean Space Fully Connected Nondirectional Graph: Shortest Path to all nodes

So this may be a question that is born of my inability to properly express my intentions to Google. In a fully connected non-directional graph such that any three points can be properly represented ...
-1
votes
1answer
82 views

HA X11 server with Anycast and Remus, will 25ms Remus sync buffer create a problem for the typical X11 app? [closed]

I am thinking to try and configure VM infrastructure to achieve high availability for X11 server by utilizing Anycast router (e.g. utilizing Quagga) and Remus Xen server for master-slave HA. So far, I ...
2
votes
1answer
301 views

Which programming guidelines for a chess network application?

I'd like to implement a simple chess peer to peer network application : one instance of the program may register friends player, and when one friend is "connected" (I mean both available by another ...
1
vote
2answers
206 views

Simplest possible Paxos algorithm (distributed consensus) explanation

I am looking for a simple explanation of the Paxos algorithm that can be used for reaching consensus in a distributed environment (possibly peer to peer network). Every explanation I have encountered ...
2
votes
3answers
2k views

TCP and UDP basics: connecting to a website

I am just learning computer networks so please forgive me if this question is naive. I know the TCP protocol binds itself to a port till the transfer of messages is over (port 80) and UDP is best ...
4
votes
1answer
291 views

Is PGM (Pragmatic General Multicast) viable to achieve reliable message delivery with IP multicast?

I have a server application that distributes stock quotes to a number of clients on our internal network. As the number of clients has grown, unicast (TCP) connections between the server and the ...
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 ...
12
votes
1answer
534 views

What did network programs use to communicate before sockets was invented (around 1983?)

Sockets were invented in Berkeley around 1983, but how did networked computer programs work before this? These days, pretty much everything uses sockets, so it's hard for me to imagine how else ...
0
votes
1answer
162 views

Design question on best option to store data on remote computers

I'm making a windows forms application which I want to install on a few computers that are all connected together on a network. Each of these computers have access to a number of servers on which ...
2
votes
1answer
217 views

Pattern for mobile app data synchronisation using HTTP over 3G networks

I have a mobile app built using jquerymobile, PhoneGap and some custom CSS and JavaScript. The data objects are received in JSON and used to display different forms to the user. For example { id: 1, ...
4
votes
6answers
727 views

Is scanning the ports considered harmful? [closed]

If any application is scanning the ports of other machines, to find out whether any particular service/application is running, will it be considered harmful? Is this treated as hacking? How else can ...
2
votes
1answer
593 views

What will generate an adjacency matrix file with a specified topology for me?

I am writing an application that takes some file specifying an adjacency matrix and uses this to construct a graph (in this case, a directed social network). What I would like to do is specify the ...
3
votes
2answers
258 views

Massive vehicular network simulator

I am interested in making a vehicular network simulator (vehicular network as in vehicles can be equipped with radios and when they come in range they can talk with each other). I want to be able to ...
4
votes
4answers
618 views

How a port “listens”, pull or push?

When you write a code to listen from a port, like 80 for example, what happens under the hood? Is the method the OS uses to listen is pull, or push? In other words, does the OS checks that port every ...