The tag has no wiki summary.

learn more… | top users | synonyms

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 ...
21
votes
4answers
501 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
366 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
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 ...
12
votes
8answers
1k 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 ...
11
votes
2answers
536 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. ...
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 ...
8
votes
3answers
2k 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
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" ...
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
452 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 ...
7
votes
3answers
751 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 ...
6
votes
2answers
600 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
337 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
134 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
153 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
2answers
318 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
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 ...
4
votes
4answers
581 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
2answers
204 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
1answer
180 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? ...
4
votes
1answer
596 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
250 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
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 ...
3
votes
5answers
540 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
3k 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
559 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
355 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
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 ...
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 ...
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 ...
3
votes
1answer
118 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
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
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 ...
2
votes
7answers
4k 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
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 ...
2
votes
2answers
838 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
569 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
782 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
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
814 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 ...
2
votes
3answers
178 views

How to rewrite a TCP MMOG server designed to run in a single machine, in a distributed way?

I have a MMOG server running on C++, using winsockets. My server won't support more than 200 players. I had the idea of redesigning it so it will use multiple servers instead of one, so, maybe, for ...
2
votes
1answer
68 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 ...
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 ...
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
1answer
219 views

Book on network cryptographic protocols [closed]

I am looking for a book that describes in fair detail the most common network cryptographic protocols such as SSL, TLS, SSH, HTTPS, etc. I already have some books that cover the underlying ...
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 ...
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 ...
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 ...
2
votes
2answers
5k views

Creating a P2P application using Java

I am preparing to start a 3rd year project using Java. The object is to create a P2P application where users can write text, draw and edit at the same time. The connection between them must be P2P. ...