Click here to Skip to main content
15,889,860 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhy breakpoints have been disabled ? Pin
sude13-Nov-05 13:48
sude13-Nov-05 13:48 
AnswerRe: Why breakpoints have been disabled ? Pin
Nish Nishant13-Nov-05 14:11
sitebuilderNish Nishant13-Nov-05 14:11 
AnswerRe: Why breakpoints have been disabled ? Pin
sude13-Nov-05 19:11
sude13-Nov-05 19:11 
QuestionIP/Host baning Pin
benjamin2313-Nov-05 13:14
benjamin2313-Nov-05 13:14 
AnswerRe: IP/Host baning Pin
Nish Nishant13-Nov-05 14:12
sitebuilderNish Nishant13-Nov-05 14:12 
AnswerRe: IP/Host baning Pin
sunit513-Nov-05 18:35
sunit513-Nov-05 18:35 
GeneralRe: IP/Host baning Pin
ThatsAlok14-Nov-05 1:19
ThatsAlok14-Nov-05 1:19 
AnswerRe: IP/Host baning Pin
S Douglas13-Nov-05 22:18
professionalS Douglas13-Nov-05 22:18 
benjamin23 wrote:
How can i ban a Host or IP address before i do my accept() call ?


Which class are you using? If you’re using CAsyncSocket then have you looked into over riding OnConnect? I dont have any code handy but there is a chapter in Secure Coding about doing this.

(if I remember I will try and look up the santax when I get home)



DEBUGGING : Removing the needles from the haystack.
AnswerRe: IP/Host baning Pin
cmk14-Nov-05 13:11
cmk14-Nov-05 13:11 
GeneralRe: IP/Host baning Pin
benjamin2314-Nov-05 17:17
benjamin2314-Nov-05 17:17 
QuestionHandle WM_COPYDATA from inside a DLL? Pin
Tareq Ahmed Siraj13-Nov-05 13:00
Tareq Ahmed Siraj13-Nov-05 13:00 
AnswerRe: Handle WM_COPYDATA from inside a DLL? Pin
Nish Nishant13-Nov-05 14:14
sitebuilderNish Nishant13-Nov-05 14:14 
AnswerRe: Handle WM_COPYDATA from inside a DLL? Pin
Tareq Ahmed Siraj13-Nov-05 14:30
Tareq Ahmed Siraj13-Nov-05 14:30 
Questionlink errors with libvfw32.a (Dev-C++) Pin
myst4ever13-Nov-05 12:55
myst4ever13-Nov-05 12:55 
AnswerRe: link errors with libvfw32.a (Dev-C++) Pin
Nish Nishant13-Nov-05 14:15
sitebuilderNish Nishant13-Nov-05 14:15 
GeneralRe: link errors with libvfw32.a (Dev-C++) Pin
myst4ever13-Nov-05 17:22
myst4ever13-Nov-05 17:22 
Questionfastest way to do unix2dos Pin
Chintoo72313-Nov-05 4:02
Chintoo72313-Nov-05 4:02 
GeneralRe: fastest way to do unix2dos Pin
Johann Gerell13-Nov-05 6:23
Johann Gerell13-Nov-05 6:23 
GeneralRe: fastest way to do unix2dos Pin
Chintoo72313-Nov-05 6:26
Chintoo72313-Nov-05 6:26 
GeneralRe: fastest way to do unix2dos Pin
grigsoft13-Nov-05 10:02
grigsoft13-Nov-05 10:02 
AnswerRe: fastest way to do unix2dos Pin
normanS13-Nov-05 19:02
normanS13-Nov-05 19:02 
QuestionHow to get a dynamic created control's dc Pin
paraGOD13-Nov-05 3:55
paraGOD13-Nov-05 3:55 
AnswerRe: How to get a dynamic created control's dc Pin
douglasjordan13-Nov-05 11:46
douglasjordan13-Nov-05 11:46 
GeneralRe: How to get a dynamic created control's dc Pin
paraGOD13-Nov-05 16:25
paraGOD13-Nov-05 16:25 
GeneralRe: How to get a dynamic created control's dc Pin
jhwurmbach13-Nov-05 21:58
jhwurmbach13-Nov-05 21: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.