Monday, October 21, 2013

IP messenger in Local network

Program:

@echo off
 :loop
 Cls
 color 02
 echo  IP messenger                          
 set /p ip=IP Address :
 set /p msg=Message    :
 net send %n% %m%
 Pause
 Goto loop

Output:

      IP messenger
IP Address:192.168.3.15
Message:Hello

If any Error occurs / If the above code does not work:

First Your PC should be connected in LAN network
Start-->Run-->Type servives.msc-->hit enter
1)There are many services listed below in Service window
2)Choose Messenger
3)Change Disable into Automatic/Manual
4)Click Start button (It may take few seconds to load)
5)Finally click apply to complete to finish
6)Alright now you have done
7)Now run the program once again

Now enjoy chatting with your friends

No comments: