You use the program "Coincidence". It's kind of similar to IRC but not completely.
You recently ported it and now it works on your Amiga 500 (but without the GUI).
It was surprisingly easy. You only had to make changes in one file: "tcpip.c".
And this you didn't do by yourself. You used an example.
Someone did a good job making it portable.