title: Transport endpoint not connected, fails on connect()
body: <p>First, I  used <code>bind()</code> and <code>listen()</code> to bind a port to address 0.0.0.0. However, now I cannot connect.</p>
  
  <pre><code>sprintf (addrbuf, "%s-%d", SVR_ADDR, SVR_PORT);
  StringToSockaddr (addrbuf, &amp;destAddr);
  if (connect(psock,(struct sockaddr *) &amp;destAddr,sizeof(destAddr)) &lt; 0)
      die("failed to connect to server");
  printf("connected to server at %s\n",getTime());
  </code></pre>