B4J Tutorial SERVER IRC (Internet Relay Chat)

Discussion in 'B4J Tutorials' started by Star-Dust, Feb 12, 2018.

  1. Star-Dust

    Star-Dust Expert Licensed User

    With the first steps on JAVA, my first program was an IRC SERVER. Subsequently I have evolved it and it has become the base to realize a SERVER for webchat.
    I developed for a couple of years in JAVA and then abandoned the language.

    It's been over 14 years since then. Many friends have suggested me to use B4J (development usually in B4A) ... and I wanted to try and see if it's really so easy to do B4J trying to redo an IRC SERVER.

    Well, I did it and I attach it to the bottom of this post. Also find a version in B4A and I will have time even a Client IRC

    For the moment I tested it with the very famous MIRC client.

    Obviously, it does not have all the commands, it's just the basic structure and it allows you to access, enter channels (or rooms) and chat. It does not log in with a password, it supports all IRC commands. But I'm sure all of you are able to expand this project.

    Good fun SD

    Release 0.03

    Note: For a better and more stable server, you would have to create a class that handles every single connection. When a user connects to the socket, a new instance of the class is created that will handle and process messages and commands.


    Attached Files:

    Last edited: Feb 19, 2018
  2. Star-Dust

    Star-Dust Expert Licensed User

    You can find the client here.

    Server update 0.03. There will be no other updates for this project.
    Don Oso likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice