Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #3426

Re: number of simultaneous tcp/ip connections on 32 bit linux

From Bob Martin <bob.martin@excite.com>
Newsgroups comp.os.linux.networking
Subject Re: number of simultaneous tcp/ip connections on 32 bit linux
Date 2015-07-28 08:04 +0100
Message-ID <d1onr9Fe9heU2@mid.individual.net> (permalink)
References <d7eb5eae-4760-41ef-ba6e-95ef0920acd7@googlegroups.com> <wwvbnexz1wp.fsf@l1AntVDjLrnP7Td3DQJ8ynzIq3lJMueXf87AxnpFoA.invalid>

Show all headers | View raw


in 503286 20150727 231134 Richard Kettlewell <rjk@greenend.org.uk> wrote:
>g918273l@gmail.com writes:
>> I have a specific question on implementing a load balancer or a TCP/IP
>> server program that does TCP/IP.
>>
>> Since port number is 16 bits, there are a max of only 65536 ports on a
>> single Linux box at any given time.
>> And TCP/IP needs a port number to talk to the outside world.
>> 1) when a client establishes a connection, an ephemeral port number is chosen.
>> 2) when a server listening on a socket accepts a connection, a port
>> number is assigned.
>>
>> So in my understanding at any given time only maximum 65536 TCP/IP
>> connections can exist on a given machine.
>
>A TCP connection is identified by the source address, source port,
>destination address and destination port.  Lots more than 65536
>possibilities.
>
>--
>http://www.greenend.org.uk/rjk/

True, but it doesn't answer the OP's question.

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

number of simultaneous tcp/ip connections on 32 bit linux g918273l@gmail.com - 2015-07-27 14:44 -0700
  Re: number of simultaneous tcp/ip connections on 32 bit linux Richard Kettlewell <rjk@greenend.org.uk> - 2015-07-27 23:11 +0100
    Re: number of simultaneous tcp/ip connections on 32 bit linux Bob Martin <bob.martin@excite.com> - 2015-07-28 08:04 +0100
      Re: number of simultaneous tcp/ip connections on 32 bit linux floyd@apaflo.com (Floyd L. Davidson) - 2015-07-27 23:32 -0800
        Re: number of simultaneous tcp/ip connections on 32 bit linux Richard Kettlewell <rjk@greenend.org.uk> - 2015-07-28 09:19 +0100
  Re: number of simultaneous tcp/ip connections on 32 bit linux Jorgen Grahn <grahn+nntp@snipabacken.se> - 2015-07-28 09:15 +0000
    Re: number of simultaneous tcp/ip connections on 32 bit linux Denis Corbin <news@dm3c.org> - 2015-07-28 18:29 +0200
      Re: number of simultaneous tcp/ip connections on 32 bit linux Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2015-07-28 12:51 -0400
        Re: number of simultaneous tcp/ip connections on 32 bit linux Denis Corbin <news@dm3c.org> - 2015-07-28 23:27 +0200
          Re: number of simultaneous tcp/ip connections on 32 bit linux Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2015-07-28 18:27 -0400
            Re: number of simultaneous tcp/ip connections on 32 bit linux Denis Corbin <news@dm3c.org> - 2015-07-29 09:18 +0200
  Re: number of simultaneous tcp/ip connections on 32 bit linux Jamma Tino Schwarze <jamma-usenet@tisc.de> - 2015-08-06 10:12 +0000
    Re: number of simultaneous tcp/ip connections on 32 bit linux JT <JT-reply-only@newsgroup.nl> - 2015-08-06 13:31 +0200
      Re: number of simultaneous tcp/ip connections on 32 bit linux Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2015-08-06 17:40 +0000
      Re: number of simultaneous tcp/ip connections on 32 bit linux Rick Jones <rick.jones2@hp.com> - 2015-08-06 17:04 +0000
      Re: number of simultaneous tcp/ip connections on 32 bit linux Jamma Tino Schwarze <jamma-usenet@tisc.de> - 2015-08-26 13:31 +0000
        Re: number of simultaneous tcp/ip connections on 32 bit linux Richard Kettlewell <rjk@greenend.org.uk> - 2015-08-26 18:33 +0100
          Re: number of simultaneous tcp/ip connections on 32 bit linux Jamma Tino Schwarze <jamma-usenet@tisc.de> - 2015-08-27 14:06 +0000
  Re: number of simultaneous tcp/ip connections on 32 bit linux Dumpsdrive Drive <fromdrive@gmail.com> - 2015-12-19 06:37 -0800

csiph-web