title: erlang ssl and {ssl_closed, Socket}
body: <p>I have two erlang nodes running in two different computers, in one node I have an ssl client and in the other i have the ssl server. Both computers are connected to the Internet via wifi connection.</p>
  
  <p>Everything works right, but I wonder why if I switch off the wifi in the client laptop I don't receive the {ssl_closed, Socket} message. </p>
  
  <p>Socket options are:</p>
  
  <pre><code>{active, true}, {keepalive, true}
  </code></pre>
  
  <p>I mean, the socket should not be valid anymore..right?</p>