Click here to Skip to main content
15,918,624 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Findind combinations Pin
valikac24-May-03 6:27
valikac24-May-03 6:27 
GeneralRe: Findind combinations Pin
Paul Hooper25-May-03 23:22
Paul Hooper25-May-03 23:22 
QuestionCHTMLEditView's back and forward? Pin
novachen23-May-03 20:51
novachen23-May-03 20:51 
General[HELP]:Multicast Problem Pin
Leo Harrison23-May-03 20:36
Leo Harrison23-May-03 20:36 
GeneralIP's and MAC's in Hashtable Pin
summo23-May-03 17:45
summo23-May-03 17:45 
GeneralRe: IP's and MAC's in Hashtable Pin
Beer24-May-03 13:56
Beer24-May-03 13:56 
GeneralSocket gives me the BSOD Pin
Madmaximus23-May-03 14:59
Madmaximus23-May-03 14:59 
GeneralRe: Socket gives me the BSOD Pin
Ryan Binns24-May-03 21:46
Ryan Binns24-May-03 21:46 
You need to change the way you setup your socket set to use with select. The second element of the fd_set structure is an array, not a simple value. Use the following:

fd_set fd;
FD_ZERO(&fd);
FD_SET(m_hSocket, &fd);
if(select(...))
...


Hope this helps,

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

GeneralInserting ActiveX Control Pin
Mardigin23-May-03 13:54
Mardigin23-May-03 13:54 
GeneralRe: Inserting ActiveX Control Pin
peterchen23-May-03 19:47
peterchen23-May-03 19:47 
GeneralRe: Inserting ActiveX Control Pin
Mardigin25-May-03 9:56
Mardigin25-May-03 9:56 
GeneralPassing hDC values between VC++ and VB Pin
3K Tech23-May-03 12:13
3K Tech23-May-03 12:13 
GeneralRe: Passing hDC values between VC++ and VB Pin
Michael Dunn23-May-03 14:50
sitebuilderMichael Dunn23-May-03 14:50 
GeneralCSplitterWnd Pin
Ancient Dragon23-May-03 10:28
Ancient Dragon23-May-03 10:28 
GeneralRe: CSplitterWnd Pin
includeh1024-May-03 6:20
includeh1024-May-03 6:20 
GeneralRe: CSplitterWnd Pin
valikac24-May-03 6:30
valikac24-May-03 6:30 
Generaloverloading new & delete operators Pin
Themis23-May-03 9:33
Themis23-May-03 9:33 
GeneralRe: overloading new & delete operators Pin
Mark Tutt23-May-03 9:47
Mark Tutt23-May-03 9:47 
GeneralRe: overloading new & delete operators Pin
Joaquín M López Muñoz23-May-03 10:17
Joaquín M López Muñoz23-May-03 10:17 
GeneralMDI Project Pin
MemLeak23-May-03 9:14
MemLeak23-May-03 9:14 
GeneralATL Error when builing release version Pin
Matt Gates23-May-03 8:54
Matt Gates23-May-03 8:54 
GeneralRe: ATL Error when builing release version Pin
peterchen23-May-03 19:55
peterchen23-May-03 19:55 
GeneralRe: ATL Error when builing release version Pin
Ryan Binns24-May-03 22:04
Ryan Binns24-May-03 22:04 
GeneralAutomating Word2002 Pin
Matt Gates23-May-03 8:51
Matt Gates23-May-03 8:51 
GeneralRe: Automating Word2002 Pin
David Crow23-May-03 13:11
David Crow23-May-03 13: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.