The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
3answers
715 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
8k 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
2k 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
424 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
144 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
263 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
81 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
582 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
215 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
218 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
310 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
338 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
103 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 ...
83
votes
6answers
34k 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
79 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
217 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
743 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
685 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. ...
2
votes
1answer
1k 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
87 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
210 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
148 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
427 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
582 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 ...
4
votes
5answers
537 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
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 ...
0
votes
1answer
128 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 ...
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" ...
-1
votes
1answer
186 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
417 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
752 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
757 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 a database to save my ...
1
vote
1answer
353 views

Sharing SCTP connection with multiple threads

I have an application that needs to run in SCTP environment, I have a question in sharing the connection among multiple threads for packet receiving only, I've tried with the sctp_sendmsg and it ...
0
votes
1answer
346 views

Which topics do I need to research to enable me to complete my self-assigned “Learning Project”? [closed]

I want to continue learning C#. I've read parts of a few books recommended on here and the language is feeling more familiar by the day. I'd like to tackle a mid-sized personal project to take my ...
1
vote
3answers
234 views

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

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 ...
5
votes
1answer
139 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
0
votes
2answers
302 views

How to connect iPad app to an app I have running in Windows

I recently picked up a macbook and want to start doing some apps for my ipad. I have a chat client written in c# that interfaces a game I play. What I would like to do is write an app for the ipad ...
5
votes
4answers
356 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 ...
2
votes
2answers
1k 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 ...
0
votes
1answer
3k views

C programming in Windows 7 [closed]

Which is the best book and what are the best tools for C programming in Windows 7? Would using C in any way hinder me when it comes to using the Windows API as opposed to using C++ or C#? I would ...
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). ...
0
votes
1answer
556 views

What is the development workflow for an Android SIP application? [closed]

I want to build an Android SIP application, and I'm looking at csipsimple's source for inspiration. I am using: Linux, Eclipse 3.7, Android sdk & ndk, swig. What are the development phases or ...
7
votes
4answers
465 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 ...
4
votes
1answer
827 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 ...
5
votes
1answer
281 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
2answers
229 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 ...
5
votes
3answers
168 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 ...
6
votes
2answers
811 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 ...
8
votes
3answers
4k 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"?
5
votes
4answers
734 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 ...