CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2009
    Posts
    12

    packet interceptor

    hello all I am looking for a sample C code for packet interceptor....

    Any help is appreciated

    Thank you

  2. #2
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,654

    Re: packet interceptor

    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    http://www.codeguru.com/forum/announ...nouncementid=6
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here
    http://www.codeguru.com/forum/misc.php?do=bbcode

    Get your free MS compiler here
    https://visualstudio.microsoft.com/vs

  3. #3
    Join Date
    Dec 2009
    Posts
    12

    Re: packet interceptor

    this seems to be a code for firewall...but my aim is to receive a packet as it is....and parse the details and do the required changes and then forward it to my another code.....

  4. #4
    Join Date
    Feb 2002
    Posts
    4,640

    Re: packet interceptor

    Isn't that what a firewall does? Routers and firewalls have the same basic behavior (receive a packet; interpret the packet's source/destination information; forward the packet on). How much interpretation depends on the application.

    Viggy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured