title: How to send a variable of type File[] through sockets in JAVA
body: <p>I have implemented a Java Client Server Application.</p>
  
  <p>The server is having a list of files stored in the folder as:</p>
  
  <pre><code>File[] list=folder.listFiles();
  </code></pre>
  
  <p>I want to send this variable list through socket to the client.
  How to do this in JAVA</p>
  
  <p>Thanx in advance</p>