The tag has no wiki summary.

learn more… | top users | synonyms

78
votes
6answers
25k 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 ...
21
votes
4answers
536 views

How did programmers use networking to share expensive computer resources in the 60's and 70's?

I'm young and wasn't alive during the 60's and 70's to experience networking and programming as it once was. I have been watching some talks by Van Jacobson on Content Centric Networking, and in ...
15
votes
4answers
385 views

How to network with other developers?

What suggestions would you give to find networking opportunities or to network at user groups and other developer venues? For instance, if you went to a code camp, would you try to network with other ...
13
votes
2answers
559 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 ...
11
votes
2answers
586 views

How does an online game continue after the host leaves?

Note: This is a question about networking, not gaming. I'm using StarCraft merely as an example. The game StarCraft (not StarCraft 2) supports online play. One person hosts, and other people join. ...
11
votes
8answers
2k views

i want to make some programmer friends but dont know where to really look [closed]

I know this is one good place but what I'm really looking for is contacts, maybe seeing them online, have intelligent conversations etc. Where I live there isn't that many programmers around me ...
10
votes
1answer
709 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 ...
10
votes
3answers
207 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 ...
10
votes
1answer
4k 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" ...
8
votes
3answers
3k views

Difference between networking programming and socket programming

Are there any major differences when we talk about "socket programming" compared to "network programming"? Are there some topics that cover "network programming" but not "socket programming"?
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 ...
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 ...
7
votes
4answers
462 views

Is there really such a thing as “push”?

Once you escape the realm of electrical signals and are dealing with software, is there really such a thing as a "push" architecture where there isn't periodic polling? I can't think of any design ...
6
votes
2answers
729 views

How do I optimize a web application for high-latency users?

Basically, I have an application that does searches and requests results from a backend via long polling. It connects to the backend which collects results for 500 ms then sends them back to the ...
5
votes
4answers
352 views

Can I advance my career in the USA if I lack local networking? [closed]

I'm a web developer with 10 years of experience in the Microsoft stack. I was brought to the US by my company, but my contract has ended. I want to continue pursuing a career in the US, but it seems ...
5
votes
1answer
137 views

Geo IP data on stackoverflow API?

Have just looked at stackgeography and at soapi. I cannot see where the geo data comes from as it's not on the soapi. Can anybody shed some light on that? More info on the stackgeography
5
votes
3answers
161 views

VPN or TLSv1 for securing a programs protocol from field device to mainframe

I am working on a product that requires devices to exists anywhere in the world hooked up to the internet though cell modems or on WLAN lines which communicates to a server(s) that exists elsewhere in ...
5
votes
1answer
236 views

audio and video data in RTP

Suppose a user wants to transmit both audio and video to another user, whose formats are AMR for audio and H.264 for video. Does the user have to transmit audio and video packets always separately? ...
5
votes
2answers
319 views

solve TOR edge node problem by using .onion proxy?

I would like to improve the TOR network, where the exit nodes are a vulnerability to concealing traffic. From my understanding, traffic to .onion sites are not decrypted by exit nodes, so therefore - ...
5
votes
1answer
322 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 ...
4
votes
4answers
672 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 ...
4
votes
3answers
102 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 ...
4
votes
2answers
222 views

How to protect a peer-to-peer network from inappropriate content?

I’m developing a simple peer-to-peer app in .Net which should enable users to share specific content (text and picture files). As I've learned with my last question, inappropriate content can ...
4
votes
2answers
100 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 ...
4
votes
1answer
202 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 ...
4
votes
1answer
740 views

SS7(M3UA, SCCP, TCAP, MAP) Stack

I'm building an open source SMSC from scratch; it's almost finished, The SRI and the forwardSM operations are working, but I still have few things to do for the receiving part. I've built the SS7 ...
4
votes
3answers
262 views

Group messaging of computers over internet

I want to be able to send messages between computers on the internet network but with minimal functionality requirement are- 1)computers can join/leave the group (I expect the group size to be a ...
4
votes
1answer
176 views

Approaches that cater for poor connectivity

First off some background info My company has a software as a service model where people log onto our servers and do work. In order to support that application we have a utility application that ...
4
votes
1answer
640 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 ...
3
votes
4answers
1k 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 ...
3
votes
5answers
559 views

How to network effectively to get a job [closed]

I have been working for 5 years at the same company now. I want to go and find a new job. Finding jobs or getting interview calls has been difficult, there are have far and few. And to compound the ...
3
votes
3answers
4k views

confusion between these two networking terms: transmission rate vs. propagation speed

I read this in TCP/IP PROTOCOL SUITE second edition, written by Behrouz A. Forouzan and Sophia Chung Fegan. In traditional Ethernet, the minimum frame length is 520 bits, the transmission rate is ...
3
votes
4answers
618 views

Is Linux a neccessity for learning network?

I'm a web developer interested in learning network. I work on Windows platform. Many of my friends and colleagures believe that to learn netwrok, I should become familiar with Linux platform. Should ...
3
votes
4answers
365 views

Is it possible to write a program that pipes the sound from one computer through the sound card of another? [closed]

I have a case where I need to use one computer's sound card to play sound but I want the sound to be generated at another computer that's on the same network as the other. Ideally the program that ...
3
votes
1answer
198 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 ...
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 ...
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 ...
3
votes
1answer
139 views

Need pointers on my first Windows program [duplicate]

I'm a Unix programmer and I need to write a (hopefully simple) program for Windows that does the following: (1) Installs from a USB drive (2) Somehow integrates with the OS at a low-level in such a ...
3
votes
3answers
606 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
199 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 ...
3
votes
1answer
73 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
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 ...
2
votes
7answers
5k views

What could be my path? Networking, programming, or something else? [closed]

Well first and foremost, I would like to give my brief description: I was an aviation student but I didn't pursue that path because I lost my interest. Now I'm an I.T. student and currently stopped ...
2
votes
2answers
1k 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 ...
2
votes
2answers
1k views

Is it possible to integrate UDP file transfer into a .NET web application?

Background I have recently been tasked with designing a rebuild of an existing .NET web application that currently uses a third-party company to handle large file transfers (as big as 50Gb). ...
2
votes
3answers
639 views

What are all things that do/can happen when a user enters in a web page's URL?

Sorry if this is a naive title. I am trying to break into web development. I have taken a basic intro to OS, intro to Networking as part of my bachelors degree several years ago. I cannot say that we ...
2
votes
2answers
952 views

Is TCP/IP an OSI Replacement or both are inter-dependent and meant to work together

I'm confused in differentiating the OSI Model and TCP/IP suite. As per my knowledge. OSI is a structure on top of which Networks are built and TCP/IP is the suite of protocols that operate on these 7 ...
2
votes
2answers
121 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.
2
votes
1answer
123 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
2k 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 ...