What is the difference between the bitcoind command line options "addnode" and "connect"? As seen here: https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments


  -addnode=ip          Add a node to connect to and attempt to keep the connection open
  -connect=ip          Connect only to the specified node(s)


Both of those explanations seem to say the same thing to me.

Can anyone explain them in more detail?
addnode add a node to the list of nodes to connect.
connect only connect to THIS node.

For example, if you are currently connected to the nodes {A, B, C} and then issue…

addnode=D: you'll be connected to {A, B, C, D}
connect=D: you'll be connected to {D}