Click here to Skip to main content
15,891,372 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with CBitmap (MFC prog) Pin
Jagadeesh VN14-Sep-03 20:03
Jagadeesh VN14-Sep-03 20:03 
GeneralRe: Problem with CBitmap (MFC prog) Pin
LordOfSword15-Sep-03 5:16
LordOfSword15-Sep-03 5:16 
QuestionHow not to display the seconds in DateTimePicker ctrl?? Pin
YaronNir14-Sep-03 3:44
YaronNir14-Sep-03 3:44 
AnswerRe: How not to display the seconds in DateTimePicker ctrl?? Pin
Michael Dunn14-Sep-03 4:20
sitebuilderMichael Dunn14-Sep-03 4:20 
QuestionSubclassing a tree control? Pin
Kayembi14-Sep-03 3:18
Kayembi14-Sep-03 3:18 
AnswerRe: Subclassing a tree control? Pin
cje15-Sep-03 5:35
cje15-Sep-03 5:35 
GeneralWhere can I get Word Developer's Kit Pin
Mahesh Perumal14-Sep-03 3:18
Mahesh Perumal14-Sep-03 3:18 
Generalloging into irc,user nick please help Pin
thes3cr3t114-Sep-03 1:49
thes3cr3t114-Sep-03 1:49 
hello
I have writen a winsock client in visual c++,my aim is to connect to a irc channel so i can chat using my own irc client.
before i can join a channel i must register with the irc server,i understand to do this i must first send the following commands (USER & NICK)both theese commands take parameters and i dont know how to write them to the server.my winsock send(); & recv(); functions are working corectly so i must be sending the login data incorrectly.

if any 1 could help me with this subject i would apreciate it.

CString login1;
login1 = "USER chris";
send(Socket,login1,strlen(login1),0);

CString login2;
login2 = "NICK thes3cr3t1";
send(Socket,login2,strlen(login2),0);

here is how im trying to send the login data i have no idia if it is correct i have read the irc rfc and i think im sending the correct data also im unsure of how to seperate the command USER from the Parameter chris.

ahh well thanks

thes3cr3t:(1
GeneralRe: loging into irc,user nick please help Pin
User 665814-Sep-03 3:12
User 665814-Sep-03 3:12 
GeneralRe: loging into irc,user nick please help Pin
thes3cr3t114-Sep-03 3:32
thes3cr3t114-Sep-03 3:32 
GeneralRe: loging into irc,user nick please help Pin
User 665814-Sep-03 3:45
User 665814-Sep-03 3:45 
GeneralRe: loging into irc,user nick please help Pin
thes3cr3t114-Sep-03 3:48
thes3cr3t114-Sep-03 3:48 
GeneralRe: loging into irc,user nick please help Pin
User 665814-Sep-03 3:52
User 665814-Sep-03 3:52 
GeneralRe: loging into irc,user nick please help Pin
thes3cr3t114-Sep-03 7:01
thes3cr3t114-Sep-03 7:01 
GeneralRe: loging into irc,user nick please help Pin
User 665815-Sep-03 9:11
User 665815-Sep-03 9:11 
GeneralRe: loging into irc,user nick please help Pin
thes3cr3t116-Sep-03 10:28
thes3cr3t116-Sep-03 10:28 
GeneralRe: loging into irc,user nick please help Pin
User 665817-Sep-03 5:17
User 665817-Sep-03 5:17 
GeneralRe: loging into irc,user nick please help Pin
thes3cr3t117-Sep-03 5:21
thes3cr3t117-Sep-03 5:21 
GeneralRe: loging into irc,user nick please help Pin
User 665817-Sep-03 5:57
User 665817-Sep-03 5:57 
QuestionHow to programatically obtain WAN ip address from behind NAT router Pin
popopo13-Sep-03 20:41
popopo13-Sep-03 20:41 
Generaldont know what i did wrong please help Pin
colin2113-Sep-03 18:26
colin2113-Sep-03 18:26 
GeneralRe: dont know what i did wrong please help Pin
Neville Franks13-Sep-03 22:54
Neville Franks13-Sep-03 22:54 
GeneralRe: dont know what i did wrong please help Pin
DougW4814-Sep-03 0:04
DougW4814-Sep-03 0:04 
GeneralResizing Bitmaps without clipping Pin
Hamid Mushtaq13-Sep-03 16:08
Hamid Mushtaq13-Sep-03 16:08 
GeneralRe: Resizing Bitmaps without clipping Pin
JWood13-Sep-03 16:11
JWood13-Sep-03 16:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.