-
as seen on Stack Overflow
- Search for 'Stack Overflow'
We are trying to build an SMTP Server to receive mail notifications from various clients over internet. As each of the communication will be longer and it needs to log everything, doing this Asynchronous way is little challenging as well as by using Socket's Asynchronous methods we are not sure of…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
HOST = same host all the time, accepts multiple connection. I have a dedicated server and I will buy extra IP's.
Socket 1 connects to HOST:PORT, from IP-1
Socket 2 connects to HOST:PORT, from IP-1
Socket 3 connects to HOST:PORT, from IP-1
Socket 4 connects to HOST:PORT, from IP-2
Socket 5 connects…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
HOST = same host all the time, accepts multiple connection. I have a dedicated server and I will buy extra IP's.
Socket 1 connects to HOST:PORT, from IP-1
Socket 2 connects to HOST:PORT, from IP-1
Socket 3 connects to HOST:PORT, from IP-1
Socket 4 connects to HOST:PORT, from IP-2
Socket 5 connects…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm curious to know if, after a WebSocket has been established (after having received the proper handshake from a server that supports them), whether or not the TCP socket used by the "WebSocket connection" is used exclusively by the WebSocket, or if the browser may still make regular HTTP requests…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
My program uses sockets, what Parallel computing APIs could I use that would help me without obligating me to go from sockets to anything else?
When we are on a cluster with a special, non-socket infrastructure system this API would emulate something like sockets but using that infrastructure (so…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have heard of a limitation in VC++ (not sure which version) on the number of nested if statements (somewhere in the ballpark of 300). The code was of the form:
if (a) ...
else if (b) ...
else if (c) ...
...
I was surprised to find out there is a limit to this sort of thing, and that the limit…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
I started over 50 FPS on the iPhone, but now I'm bellow 30 PFS, I've seen most iPhone games clamped to either 60 or 30 FPS, even when 24 or less would give the illusion of movement.
I've concidered my limit to be a little bit over 15 FPS, in fact my physics simulation is updated at that rate (15…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a functional AdjacencyListGraph class that adheres to a defined interface GraphStructure. In order to layer limitations on this (eg. acyclic, non-null, unique vertex data etc.), I can see two possible routes, each making use of the GraphStructure interface:
Create a single class ("ControlledGraph")…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I know that Yahoo and Google mail support 25MB email attachments. I have an idea from somewhere that 10MB email messages are generally supported by modern email systems.
So if I'm sending an email between two arbitrary users on the internet, what's the safe upper bound on message size? 1MB? 10MB…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
What is a possible scenario for exhausting the memory designated to a connection zone with limit_conn_zone directive and what are the implication in this case?
Suppose I have this in my configuration:
http {
limit_conn_zone $binary_remote_addr zone=connzone:1m;
...
server {
limit_conn…
>>> More