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 in web apps?
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 inconvenience. However, some of our clients accessing via 3G devices are experiencing session failures due to this IP restriction.
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 structure or the communication protocol, which has to span 14 minute communications?
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 packages are queued, we send it forward in a FIFO way (the scheduler spend 60% of time with the high queue, 30% the time with normal and 10% with the low queue). It works, but as FIFO it has some drawbacks like:
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 mathematics has the potential to give a much deeper understanding of different concepts, but it requires more work.
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 between the two nodes? To resolve this issue, it would be sufficient to make sequential the operations performed for creating inbound or outbound TCP connections.
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 part and clients? What’s the benifit of this architecture?
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 correct builder, but I want to know if there are any established solutions for getting the binary data on the sender side and consequently passing the data for deserialization on the receiver end.
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. consumer broadband router firewall, Windows firewall or corporate firewalls).
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 third box sees the response. I am trying to reconstruct the file there. I am using libpcap
to capture TCP datagrams and trying to reconstruct the file there. Here is what I did