• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Writing message to IRC server

jimme van der meer
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm new on this forum so I will do a small introduction, I'm Jimme van der Meer, I'm from Holland, studying software engineering and I'm looking for abit of help on this app.

I want to make a simple chat client to put on my website as an Applet that is using IRC protocols.
The connection is established and I'm in the IRC server>channel but I can't figure out how to send messages to the server.

Now the first question is: I've read about the printwriter to send messages but is that necessary when I got a BufferedWriter already?
Second question: I know that I'll have to add threads to this app, I know how they work for the most part, but first I want to test if I'm able to send a message to the server, I hope this is possible without threads?
Last but not least: I'm able to write messages to my own computer as local server but to IRC seems tickier, so how the hell do I send a message to the IRC sever?

Here's the start of my source code, I'll hope somebody is able to help.
Thanks in advance Jimme

I tried googling it and I've read the book head first java but there are not enough examples on how to write a message to an IRC server
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic