title: How to measure internet bandwidth
body: <p>I have a problem and can't find answers. I would like to measure internet bandwidth with java, but I don´t know how.</p>
  
  <p>It would be great to get some hints; I know that I have to open a socket and send it to a defined server, get it back and then use the time.</p>
  
  <p>But how would I code this?</p>