posted 14 years ago
The code is fine.
The only problem is with IP : "127.0.0.1"
When you run it on the other machine you need to change it, means you have to give here the IP of server whom you are calling.
That's the only chance of error!!
One more error is possible is of port:
if your port is already in use.
So, better check if that port is free or not.
Let me know what error you are actually getting?
--Himanshu Jain
http://jainhim.blogspot.com/