Is it possible to achieve better data transfer rate with multiple parallel TCP connections in high-latency environment (public internet with large geographical distance assuming no traffic shaping per connection or stuff like that) or can TCP utilize the whole bandwidth with a single connection?
Is TCP sending data as fast as it cans ...
Why does UDP have a length field in the header and TCP does not?
I am guessing that the length of the segment in TCP is inferred from the IP header but one should be able to do the same for a UDP datagram
...
HI, All,
so, I inventedmade up a simple protocol that I want to use for a client to talk to a server. It's the typical (I think) three-phase layout:
Connection Establishment (will eventually include capability negotiation)
Actual Data Exchange - packets are happily travelling to and fro', get interpreted by the respective receiver wh...
In Windows XP, Microsoft took the decision to limit the number of half open connections in later service packs. Patching tcpip.sys was rumoured to fix this. Does such a limit exist in Windows 2008, and if so, is it configurable?
...
Why is it that TCP connections to a loopback interface end up in TIME_WAIT (socket closed with SO_DONTLINGER set), but identical connections to a different host do not end up in TIME_WAIT (they are reset/destroyed immediately)?
Here are scenarios to illustrate:
(A) Two applications, a client and a server, are both running on the same ...
Hello,
I'm assigned to a project where my code is supposed to perform uploads and downloads of some files on the same FTP or HTTP server simultaneously. The speed is measured and some conclusions are being made out of this.
Now, the problem is that on high-speed connections we're getting pretty much expected results in terms of through...
When SIO_FLUSH socket ioctl is used in a Windows environment (in user space), I am confused as to what happens. Does this: (1) completely discard the data from the TCP/IP send queue into a black hole, or (2) push the queued send data across the connection until the buffer is empty, or (3) something else? Thanks!
...
I am writing an application where all the request to the internet should go from it like in firewall. so that i can block the request for a particular website. In my case the program will be running on the same machine. I have tried the promiscous method but using that we can only capture all the packets comming and going from the machin...
We have a SQL Server 2005 database, and currently all our users are connecting to the database via the TCP/IP protocol.
The SQL Server Configuration Manager allows you to "enable" both Named Pipes, and TCP/IP connections at the same time. Is this a good idea? My question is not whether we should use named pipes instead of TCP/IP, but a...
Does anyone know exactly what Windows XP does when you click "Repair" on a network connection? I'd like to do the same programatically or from a command line.
I did a Google search and found this article, which has a good explanation, but I don't think it's complete. I can reliably reproduce a condition where I lose network connectivity...
I'd like to write a function in Javascript along the lines of:
in_subnet(ip, network, slash) {
...
}
in_subnet('1.2.3.4', '1.2.0.0', 16) # True, since it's in 1.2.0.0/16
in_subnet('1.2.3.4', '1.2.0.0', 24) # False, since it's not in 1.2.0.0/24
Should I write it from scratch, or are there some good libraries I could use? Or is the...
Hi all,
I'm not sure if this is an OS, router, or ISP question, but I believe it is an OS question.
Question:
How can I increase the number of connections my computer can use?
I'm using ubuntu.
I currently have a lot of connections for bit torrent, but I'm not able to make full use of my entire download bandwidth. My BT client is ...
In .NET I have already tried the configuration below successfully:
<system.net>
<connectionManagement>
<add address="*" maxconnection="100"/>
</connectionManagement>
</system.net>
Using 100 concurrent HttpWebRequest they answered almost simultaneously (less than a second).
I wonder why some people wrote in some foru...
While transmiting data via localhost address or 127.0.0.1 which layers are used in the OSI model?
I believe communication starts through application layer and goes down till some layer but no data goes through physical layer, or does any?
...
I need something a little more feature rich than Sysinternals TCPView (which I regularly use) ... but it also must be freeware. :)
...
I want to have an application or service that is running that, on some schedule, can disable access to the internet for all applications except for specific ones.
I'm trying to create a filter that can be turned on or off under programmatic control. Not just IP addresses and ports, but I want to be able to block specific applications as...
Underlying the TCP transport stack are a number of buffer limits sometimes documented by their authors. On WinXP SP3 I've run into one of these, I think, and can't figure out why.
I have implemented a simple client to get data from a server (written by a colleague in Java). The protocol is to write the length of the data (in network o...
in eclipse, i have a weblogic server running, and a j2ee application deployed to it.
the application is serving on port 7001.
i want to hook the monitor up to the application, i do not know what ports to use.
i think i know what to put in for the Host Name (localhost:7001), but not sure of what to use for type and Local Port. in the proe...
I want to write a client/server app - let's say "TCP Chat".
I have not too much knowledge about how protocols work. What's your choice for a beginner's book in developing network apps - both on how protocols work and how to write good code?
...
Hello we have an SQL server application running over a low bandwith connection.
We use ADO.NET.
I was wondering if anybody has any tips on minimizing traffic over the channel.
Im looking for answers on ADO.NET/SQL-Server specific tips that make it more efficient.
Not obvious answers like "dont fetch many records".
En example for MySql...