I keep couple of programs & scripts I wrote here. It kinds of feel like an attic, not that much harmony
Chat Server/Client
A program written in Java. It’s a small sized chat server + client. The server is in 2 flavors, the command line server for those who like a retro feel, and the graphical one, which makes it really easy to create a server and disconnect all the clients as well!
You can see its pictures here!
The client program took me some days. After connecting to the server, you can see that any message you send, bounces up like a marquee in the window title, pretty much like any modern chat client. Plus you can choose a user name and color which is shown in every other user’s computer! Pretty modern, hah?!
- The graphical chat client written in Java. Download here, then extract & double click on the Jar file, should work!
- The shell based chat server with a retro look! Download here, then extract and go to its directory via shell and enter “java -jar ChatServer.jar 4500″, the last number is the port number which is optional, if you don’t enter any port number, the default is 5000.
- The graphical (and STABLE!) chat server. Download here, then extract & double click on the Jar file, you can define the port you want graphically and click on the Start Server button. Now you can easily create a server and see who’s getting connected and who types what, it also shows the IP address of the chatters! Plus if you hit the Stop Server button, all the clients get disconnected!
NOTE: You have to have Java Runtime Environment (JRE) installed on your system in order to run my program. You can grab Java from its official web page. After having it installed, in Windows & Mac, you can simply click on my JAR files and run them, and they run! In Linux however, you should run them in command line “java -jar filename.jar”, or right click on the file in GNOME or KDE, and choose to run it with Java. Don’t forget in Linux the executable bit of the file should be set to one, which means if I forgot, you have to do a “chmod +x filename.jar” on the client or server file to run them (If you’re using Linux, you probably already know how to handle it!).
No need to mention that you first need to start the server, either graphically or in shell, after you make sure your computer is listening on a specified port, you can run the client chat program on any computer in your network, providing the server’s IP address and port number and start chatting with any other soul on that server!

RSS