Click here to Skip to main content
15,899,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to stop indexing from restarting? Pin
enhzflep5-Jun-12 16:01
enhzflep5-Jun-12 16:01 
QuestionRe: How to stop indexing from restarting? Pin
David Crow6-Jun-12 2:41
David Crow6-Jun-12 2:41 
AnswerRe: How to stop indexing from restarting? Pin
jschell6-Jun-12 9:16
jschell6-Jun-12 9:16 
QuestionDrawing taking time Pin
john56323-Jun-12 23:58
john56323-Jun-12 23:58 
AnswerRe: Drawing taking time Pin
Chris Losinger4-Jun-12 5:30
professionalChris Losinger4-Jun-12 5:30 
AnswerRe: Drawing taking time Pin
Code-o-mat4-Jun-12 6:15
Code-o-mat4-Jun-12 6:15 
AnswerRe: Drawing taking time Pin
Albert Holguin4-Jun-12 8:42
professionalAlbert Holguin4-Jun-12 8:42 
QuestionHow to ban ip in the chatroom ? Pin
wangningyu3-Jun-12 22:42
wangningyu3-Jun-12 22:42 
The chatroom server app is used TCP WSAasyncSelect mode .

I want ban some ip in the chatroom,let him doesn't connect the server.

Now I use a vector list to save the ip, when someone connect ,it will traversal search .

if in the black list, then call closesocket.

But this is the low efficiency.

Is there any other way?


Thanks for you replay !
AnswerRe: How to ban ip in the chatroom ? Pin
Chris Losinger4-Jun-12 0:47
professionalChris Losinger4-Jun-12 0:47 
AnswerRe: How to ban ip in the chatroom ? Pin
Iain Clarke, Warrior Programmer4-Jun-12 0:59
Iain Clarke, Warrior Programmer4-Jun-12 0:59 
GeneralRe: How to ban ip in the chatroom ? Pin
wangningyu4-Jun-12 5:01
wangningyu4-Jun-12 5:01 
GeneralRe: How to ban ip in the chatroom ? Pin
Iain Clarke, Warrior Programmer4-Jun-12 6:16
Iain Clarke, Warrior Programmer4-Jun-12 6:16 
QuestionDifferenciating Between Variables Pin
AmbiguousName3-Jun-12 19:51
AmbiguousName3-Jun-12 19:51 
AnswerRe: Differenciating Between Variables Pin
Iain Clarke, Warrior Programmer3-Jun-12 20:39
Iain Clarke, Warrior Programmer3-Jun-12 20:39 
GeneralRe: Differenciating Between Variables Pin
AmbiguousName3-Jun-12 23:36
AmbiguousName3-Jun-12 23:36 
GeneralRe: Differenciating Between Variables Pin
Iain Clarke, Warrior Programmer4-Jun-12 0:00
Iain Clarke, Warrior Programmer4-Jun-12 0:00 
GeneralRe: Differenciating Between Variables Pin
Erudite_Eric4-Jun-12 0:42
Erudite_Eric4-Jun-12 0:42 
SuggestionRe: Differenciating Between Variables Pin
David Crow4-Jun-12 2:46
David Crow4-Jun-12 2:46 
GeneralRe: Differenciating Between Variables Pin
Albert Holguin4-Jun-12 8:03
professionalAlbert Holguin4-Jun-12 8:03 
AnswerRe: Differenciating Between Variables Pin
AmbiguousName5-Jun-12 2:22
AmbiguousName5-Jun-12 2:22 
AnswerRe: Differenciating Between Variables Pin
Paul Conrad5-Jun-12 13:25
professionalPaul Conrad5-Jun-12 13:25 
AnswerRe: Differenciating Between Variables Pin
CPallini3-Jun-12 21:53
mveCPallini3-Jun-12 21:53 
Questiondraw an AVL tree Pin
houalfred3-Jun-12 14:47
houalfred3-Jun-12 14:47 
AnswerRe: draw an AVL tree Pin
Iain Clarke, Warrior Programmer3-Jun-12 20:42
Iain Clarke, Warrior Programmer3-Jun-12 20:42 
GeneralRe: draw an AVL tree Pin
houalfred5-Jun-12 1:15
houalfred5-Jun-12 1:15 

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.