problem in receiving message from server

Hi all,i am new to socket programming. i tried a simple echo server-client programs. The problem is client is able to send the message but it is not receiving and no problem with server. can anyone help me?
[220 byte] By [ksudupaa] at [2007-10-3 0:28:33]
# 1
(a) is the client flushing its output stream?(b) is the server flushing its output stream?(c) are there any exceptions being thrown?(d) What if anything is the server receiving?(e) What if anything is the client receiving?
ejpa at 2007-7-14 17:21:21 > top of Java-index,Archived Forums,Socket Programming...
# 2
Thanx.Actually server was not flushing. Now its working fine
ksudupaa at 2007-7-14 17:21:21 > top of Java-index,Archived Forums,Socket Programming...