Tuesday, November 02, 2010

LanChat (v1.00)



Lan Chat is a Java based p2p Chat Application for use over a Lan.

I am learning Java and this is my first GUI-based app. Mail me for any suggestions or to report any bugs.(Email given in About Menu of Application.)


You must have JRE 1.6 installed to run this App. If not, download it
here for Windows systems. For Linux click here.


Instructions for use are given in the Help Menu.

To find IP address for your Machine type 'ipconfig' (without quotation marks) at command prompt:
C:\Windows\system32\ipconfig

If you do not have a Lan and two Machines but still want to test the App
Follow these instructions:

Start two instances of the App.


1)Double-Click on JAR file once.
2)Enter your name , friend's name (You can leave it blank)
3)Leave Friend's IP blank.
4)Select Host.
5)Click connect.

6)Double click JAR file again.
7)Enter your name (again optional).
8)Leave IP field blank.
9)Keep Host UNCHECKED.
10)Click connect.

If connection is successful, both Chat Windows will show connected message.
Now any messages sent from one Window will appear in other.

Download LanChat here.

Some Screen Shots

Start App



Enter Settings (Names optional)
click Connect




Server App waits for Client to connect for 20 secs
Keep smaller timeout if you are impatient (on Lan).
Keep larger timeout if you are testing App on same machine.




Double click JAR file again.
Enter settings
Click Connect.



Now both windows will show Connected message.



Messages can be sent from one window to other.

This is only for testing on same Machine.

For use on actual Lan and two Machines refer Help Menu in App.