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

C / C++ / MFC

 
GeneralRe: Multiple definitions Pin
John R. Shaw23-Oct-07 18:46
John R. Shaw23-Oct-07 18:46 
QuestionSuspendThread and StackWalk64 Pin
Baltoro23-Oct-07 14:08
Baltoro23-Oct-07 14:08 
AnswerRe: SuspendThread and StackWalk64 Pin
cmk24-Oct-07 10:16
cmk24-Oct-07 10:16 
GeneralThanks for Reply Pin
Baltoro25-Oct-07 6:11
Baltoro25-Oct-07 6:11 
Questionirc via socket Pin
Adno23-Oct-07 12:29
Adno23-Oct-07 12:29 
QuestionRe: irc via socket Pin
Mark Salsbery23-Oct-07 13:42
Mark Salsbery23-Oct-07 13:42 
AnswerRe: irc via socket Pin
Adno23-Oct-07 14:59
Adno23-Oct-07 14:59 
GeneralRe: irc via socket Pin
Mark Salsbery24-Oct-07 6:07
Mark Salsbery24-Oct-07 6:07 
It's impossible to say without seeing any code, but things to look at are:

1) Parsing messages from the server - the protocol doesn't include message length
parameters so it's up to you to recv() all bytes whenever there's an FD_READ event
and parse the bytes into messages.  Remember, on one recv(), you may only get a partial message.
You have to deal with that.

2) Make sure you're forming your client-to-server messages correctly.  ASCII only - no Unicode.
Use proper whitespace.  Check for server replies.

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: irc via socket Pin
Adno24-Oct-07 9:03
Adno24-Oct-07 9:03 
GeneralRe: irc via socket Pin
Mark Salsbery24-Oct-07 10:59
Mark Salsbery24-Oct-07 10:59 
GeneralRe: irc via socket Pin
Moak8-Nov-07 12:16
Moak8-Nov-07 12:16 
QuestionCommunication between windows forms Pin
UnHolyKnight55523-Oct-07 11:35
UnHolyKnight55523-Oct-07 11:35 
AnswerRe: Communication between windows forms Pin
Hamid_RT23-Oct-07 20:48
Hamid_RT23-Oct-07 20:48 
QuestionSave image to bitmap Pin
JBAK_CP23-Oct-07 10:35
JBAK_CP23-Oct-07 10:35 
AnswerRe: Save image to bitmap Pin
Neo Andreson23-Oct-07 18:09
Neo Andreson23-Oct-07 18:09 
AnswerRe: Save image to bitmap Pin
Hamid_RT23-Oct-07 20:46
Hamid_RT23-Oct-07 20:46 
Questionhelp me Pin
lgbean23-Oct-07 9:47
lgbean23-Oct-07 9:47 
Questionrun-time created control handling Pin
mr_Tuborg23-Oct-07 9:00
mr_Tuborg23-Oct-07 9:00 
AnswerRe: run-time created control handling Pin
David Crow23-Oct-07 10:06
David Crow23-Oct-07 10:06 
GeneralRe: run-time created control handling Pin
mr_Tuborg23-Oct-07 18:45
mr_Tuborg23-Oct-07 18:45 
AnswerRe: run-time created control handling Pin
Mark Salsbery23-Oct-07 10:19
Mark Salsbery23-Oct-07 10:19 
GeneralRe: run-time created control handling Pin
mr_Tuborg23-Oct-07 18:39
mr_Tuborg23-Oct-07 18:39 
AnswerRe: run-time created control handling Pin
Stephen Hewitt23-Oct-07 16:31
Stephen Hewitt23-Oct-07 16:31 
GeneralRe: run-time created control handling Pin
Mark Salsbery24-Oct-07 5:06
Mark Salsbery24-Oct-07 5:06 
QuestionDetect right-click on Tab Header Pin
neil478123-Oct-07 8:58
neil478123-Oct-07 8:58 

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.