swastik, I have tried your code.when running the server code,I am getting the following message:
java.net.BindException: Address already in use: JVM_Bind
And when running the client code,the output is:
Asterisk Call Manager/1.0
And can i run both the codes in eclipse in same system?