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

C / C++ / MFC

 
GeneralRe: Closing application in InitDialog() Pin
AlexMarbus23-Apr-02 0:35
AlexMarbus23-Apr-02 0:35 
GeneralRe: Closing application in InitDialog() Pin
Hans Ruck23-Apr-02 0:48
Hans Ruck23-Apr-02 0:48 
GeneralRe: Closing application in InitDialog() Pin
Tim Smith23-Apr-02 2:19
Tim Smith23-Apr-02 2:19 
GeneralBackdoors! Pin
Rickard Andersson2022-Apr-02 21:29
Rickard Andersson2022-Apr-02 21:29 
GeneralRe: Backdoors! Pin
l a u r e n22-Apr-02 22:34
l a u r e n22-Apr-02 22:34 
GeneralRe: Backdoors! Pin
Rickard Andersson2022-Apr-02 23:07
Rickard Andersson2022-Apr-02 23:07 
GeneralRe: Backdoors! Pin
Giles23-Apr-02 0:12
Giles23-Apr-02 0:12 
GeneralRe: Backdoors! Pin
Rickard Andersson2023-Apr-02 0:55
Rickard Andersson2023-Apr-02 0:55 
If I always check what data my server recevies and check if it's a valid command and then do something. If a string that is unrecognized will be sent to the server it just ignoring that string and keep call recv()....

shouldn't it be pretty impossible for Nimba viruses to execute their self??

I mean, I check what kind of string that my server receves and so...

if my custom protocoll on my server has commands like:
MSG Hello developers out there! MSGEND\t\t
FIL file_data_goes_here FileName.exe

you see that each command have 3 letters. And if I check the string that receves if the 3 first letters is MSG or FIL then I keep going and handle the commands, but if the 3 first letters is unrecognized by the server it just ignore the receved string and keep listening...and if it repeates too many times you could close the connection to to the client...

Isn't that good enough, Giles? Big Grin | :-D Big Grin | :-D

------------------------------------
Rickard Andersson, Suza Computing
ICQ#: 50302279
I'm from the winter country SWEDEN!

------------------------------------
GeneralRe: Backdoors! Pin
Mike Nordell23-Apr-02 10:12
Mike Nordell23-Apr-02 10:12 
QuestionHow to check if a directory Exists Pin
Sameer Maggon22-Apr-02 21:10
Sameer Maggon22-Apr-02 21:10 
AnswerRe: How to check if a directory Exists Pin
l a u r e n22-Apr-02 21:16
l a u r e n22-Apr-02 21:16 
GeneralRe: How to check if a directory Exists Pin
Sameer Maggon22-Apr-02 21:55
Sameer Maggon22-Apr-02 21:55 
AnswerRe: How to check if a directory Exists Pin
Tom Archer23-Apr-02 3:50
Tom Archer23-Apr-02 3:50 
GeneralRe: How to check if a directory Exists Pin
Mike Nordell23-Apr-02 10:15
Mike Nordell23-Apr-02 10:15 
GeneralRe: How to check if a directory Exists Pin
Tom Archer23-Apr-02 10:23
Tom Archer23-Apr-02 10:23 
AnswerRe: How to check if a directory Exists Pin
Ravi Bhavnani23-Apr-02 10:33
professionalRavi Bhavnani23-Apr-02 10:33 
GeneralRe: How to check if a directory Exists Pin
Jamie Hale16-May-02 10:05
Jamie Hale16-May-02 10:05 
GeneralRe: How to check if a directory Exists Pin
Ravi Bhavnani16-May-02 10:56
professionalRavi Bhavnani16-May-02 10:56 
GeneralPageSetup dialog and Print dialog Pin
nilaysoft22-Apr-02 20:04
nilaysoft22-Apr-02 20:04 
GeneralRe: PageSetup dialog and Print dialog Pin
Roger Wright22-Apr-02 20:05
professionalRoger Wright22-Apr-02 20:05 
QuestionHow can I get the net adapter address? Pin
wangyiming22-Apr-02 19:14
wangyiming22-Apr-02 19:14 
AnswerRe: How can I get the net adapter address? Pin
Albert Pascual23-Apr-02 6:48
sitebuilderAlbert Pascual23-Apr-02 6:48 
GeneralRe: How can I get the net adapter address? Pin
wangyiming26-Apr-02 21:44
wangyiming26-Apr-02 21:44 
QuestionTabs on all my MidClients? Pin
rbc22-Apr-02 16:57
rbc22-Apr-02 16:57 
AnswerRe: Tabs on all my MidClients? Pin
l a u r e n22-Apr-02 21:19
l a u r e n22-Apr-02 21:19 

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.