Hello, not the first time I come across the SO_REUSEADDR socket option, here's a piece from the book "UNIX. Professional Programming": As a rule, the implementation of the TCP protocol does not allow to assign the same address to another socket until it passes a certain period of time, which usually amounts to several minutes Fortunately, this restriction is easily circumvented using the parameter SO_REUSEADDR ...

and in this way the essence is not explained anywhere: what does "reuse" mean? This means that at some point several processes can listen, for example localhost: 80 i.e. one socket? or it is impossible to assign this socket after closing to the same process, but a third-party one can? or what does this mean at all?

  • one
    1 , 2 , etc. etc. - aleksandr barakin
  • @alexanderbarakin, thank you - xperious

0