View Single Post
Old Mar 3rd, 2008, 8:16 AM   #6
Game_Ender
Professional Programmer
 
Game_Ender's Avatar
 
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3 Game_Ender is on a distinguished road
Re: Simple BSD Sockets Problem

Yes you should be checking the return of *every* socket call. I usually use wrapper function which do it for me.

I found the IRC spec and I am not sure you are following it correctly. I think you need both "CR" and "LF" which would mean messages end in "\r\n". See more here.

You should also be able to telnet into the server and test out the commands manually if you wish.
__________________
Robotics @ Maryland AUV Team - Software Lead
Game_Ender is offline   Reply With Quote