How to read content using socket connection?
<p>Can anyone please help to read content using socket connection?</p>

<p>I used following line of code:</p>

<pre><code> ObjectInputStream ois = new ObjectInputStream(socket.getInputStream());
 String message = (String) ois.readObject();
 System.out.println("Message Received: " + message);
</code></pre>

<p>Regards,
Monali</p>
