title: Java Socket Programming
body: <p>I am building a simple client/server application using java sockets and experimenting with the ObjectOutputStream etc.</p>
  
  <p>I have been following the tutorial at this url <a href="http://java.sun.com/developer/technicalArticles/ALT/sockets/" rel="nofollow noreferrer">http://java.sun.com/developer/technicalArticles/ALT/sockets</a> starting half way down when it talks about transporting objects over sockets.</p>
  
  <p>See my code for the client <a href="http://pastebin.com/m37e4c577" rel="nofollow noreferrer" title="http://pastebin.com/m37e4c577">http://pastebin.com/m37e4c577</a> However this doesn't seem to work and i cannot figure out what's not working. The code commented out at the bottom is directly copied out of the tutorial - and this works when i just use that instead of creating the client object. </p>
  
  <p>Can anyone see anything i am doing wrong?</p>