Sockets for remote login

Hi,

i have written a program that provides the remote login for the system whose IP is specified.

the program is working correctly on the same machine but its not working when i try to communicate with the other system.

i am attaching both client and server programs.

Please help.

Regards,
MrUnix.

I'll get back to you. Thank.