Thread: Want to start learning raw packets in C

  1. #1
    Prying open my third eye.
    Join Date
    Jun 2005

    Some Raw Packet questions

    EDIT: Well, I just started with some of the raw packet stuff in C, but I have a few questions.

    Can a socket using SOCK_RAW communicate with one using SOCK_STREAM? Just for testing and to learn about them I wanted to be able to send out packets and be able to recieve them so that I can access all the different fields to analyze, so to speak. I am pretty sure I could do this with both sockets using SOCK_RAW but I am still curious.

    Last edited by Lateralus; 06-09-2005 at 07:23 AM.
    "So you're one of those condescending UNIX computer users?"

    "Here's a nickel, kid. Get yourself a better computer."

  2. #2
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    In my opinion, you need to understand what you are doing, so I suggest you read this guide to raw socket programming:
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe - Developing free software for the community.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Machine Learning with Lego Mindstorms
    By DavidP in forum A Brief History of
    Replies: 14
    Last Post: 01-30-2009, 02:34 PM
  2. Linked List Anamoly
    By gemini_shooter in forum C++ Programming
    Replies: 3
    Last Post: 02-28-2005, 05:32 PM
  3. Sending Raw Packets?
    By Coder87C in forum Networking/Device Communication
    Replies: 7
    Last Post: 12-03-2003, 01:27 PM
  4. Sending raw packets.
    By Denethor2000 in forum C++ Programming
    Replies: 3
    Last Post: 06-04-2002, 02:08 PM
  5. Where is a good place to start?!
    By bobthefish3 in forum Game Programming
    Replies: 1
    Last Post: 10-09-2001, 11:28 AM