TheGhost 0 Newbie Poster

hello, im making IRC clients with both C++ and Java SE.

i've come across a peculiar problem when i send the message using my program (or when sending it using telnet)

send: "PRIVMSG test hello, this is a test"
receive: "hello,"

what can i do to fix this problem?

secondly, how do i send files through IRC? by using the IP address, or does IRC have a function? im quite new to this IRC programming thing, so please help.

lastly, assuming i have to use IP address, how do i get from the 1st client to the 2nd client... assuming i do not want to set any port forwarding thingie at my router.

thanks.