User Profile

Collapse

Profile Sidebar

Collapse
potatosoftware
potatosoftware
Last Activity: May 18 '10, 06:22 PM
Joined: May 17 '10
Location: Tunisia
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • potatosoftware
    replied to Dos Attack Prevention Code
    in C
    Hi Banfa,
    Indeed, DoS attack prevention would be much efficient if handled by firewalls and routers. However this does not devoid my attempt to do it server-side. One reason is : Are we sure if we deploy a custom server application and host it at some hosting provider, that this latter has mechanism in place to prevent DoS ?
    I do'nt think so.

    In term of solution, no it should not be so hard. To discern the legitemate one...
    See more | Go to post

    Leave a comment:


  • potatosoftware
    replied to How to use vector <const char*>
    in C
    Reason

    The memory leak is because of the conversion of a non const char* to a const char*
    in the following instruction :

    vec.push_back(s tr[i]);

    Either use the same type, or use the following to cast between the two types :

    const_cast
    =>

    vec.push_back( const_cast( str[i] ) );

    Hope this helps.
    See more | Go to post

    Leave a comment:


  • potatosoftware
    started a topic Dos Attack Prevention Code
    in C

    Dos Attack Prevention Code

    Hi all, I am looking for a Dos Attack Prevention Code in C++ to inspire from,
    any suggestions ?

    Thank you in advance.
    See more | Go to post
No activity results to display
Show More
Working...