title: Socket Lose Connection
body: <p>I know Twisted can do this well but what about just plain socket?</p>
  
  <p>How'd you tell if you randomly lost your connection in socket? Like, If my internet was to go out of a second and come back on.</p>