title: specifying source and destination port on socket
body: <p>I am creating a socket for TCP communication and would like to know how to specify a source port.</p>
  
  <pre><code>Socket socket = new Socket();
  socket.connect(dstAddress);
  </code></pre>