Android Tutorial SERVER IRC (Internet Relay Chat)

Discussion in 'Tutorials & Examples' 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 succeeded and I have also developed a version in B4A attached in this post (Here B4J version). You can find the client here.

    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


    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.

    1.png
     

    Attached Files:

    Last edited: Feb 20, 2018
    scsjc, MarcoRome and moster67 like this.
  2. Star-Dust

    Star-Dust Expert Licensed User

    Update rel 0.02
    Fix bugs and other.
     
    Last edited: Feb 14, 2018
    MarcoRome likes this.
  3. Star-Dust

    Star-Dust Expert Licensed User

    You can find the client here.

    There will be no other updates for this project.
     
Loading...
  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