title: Dynamically invoke a method over a socket
body: <p>I have 2 pc's with some software, now I need one pc to execute a method on another pc, now I've searched high and low but could not find anything on how to do this. I could do this with writing my own little interface that serializes the arguments, method name and return objects and sending this over a socket then deserialize this execute the method using reflection, and return an result object over the socket. But I would like someone else's opinion before I start writing something that is much easier another way.</p>
  
  <ul>
  <li>Send multiple arguments (they will all be received and send as an object)</li>
  <li>Return an object</li>
  <li>serialize back an exception object if any has occurred</li>
  </ul>
  
  <p>I have not done anything in serializing objects and sending them over a socket, but are all standard objects serializable? Like a <code>List&lt;&gt; array[] float dateTime</code>?</p>
  
  <p>I hope to have explained this ok, if not I'm sorry and ask what is not clear.</p>