Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Data Transfer using MAC address [modified]

Data Transfer using MAC address [modified]

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpsysadmintoolstutoriallearning
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    ganesh_IT
    wrote on last edited by
    #1

    Hi guys, i try to send data directly to host MAC address(without using IPAdress). I am not a expert in network programming am just a beginner. In my search i found some ideas, that is we can use

    "SocketType.Raw"

    in socket to achieve this. But i cant understand it. Another thing is i need to acheive this without NDIS Protocol Driver. somebody pls explain me how to do it...is there any class or utility is avilable in .NET. Thanks in advance ganesh_IT

    modified on Monday, December 13, 2010 4:53 AM

    L P D 3 Replies Last reply
    0
    • G ganesh_IT

      Hi guys, i try to send data directly to host MAC address(without using IPAdress). I am not a expert in network programming am just a beginner. In my search i found some ideas, that is we can use

      "SocketType.Raw"

      in socket to achieve this. But i cant understand it. Another thing is i need to acheive this without NDIS Protocol Driver. somebody pls explain me how to do it...is there any class or utility is avilable in .NET. Thanks in advance ganesh_IT

      modified on Monday, December 13, 2010 4:53 AM

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      I think you should Google send raw Ethernet packet :)

      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

      Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

      1 Reply Last reply
      0
      • G ganesh_IT

        Hi guys, i try to send data directly to host MAC address(without using IPAdress). I am not a expert in network programming am just a beginner. In my search i found some ideas, that is we can use

        "SocketType.Raw"

        in socket to achieve this. But i cant understand it. Another thing is i need to acheive this without NDIS Protocol Driver. somebody pls explain me how to do it...is there any class or utility is avilable in .NET. Thanks in advance ganesh_IT

        modified on Monday, December 13, 2010 4:53 AM

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        Why are you trying to do this? Perhaps if you explained the problem you are trying to solve, we could offer alternatives.

        I'm not a stalker, I just know things. Oh by the way, you're out of milk.

        Forgive your enemies - it messes with their heads

        My blog | My articles | MoXAML PowerToys | Onyx

        1 Reply Last reply
        0
        • G ganesh_IT

          Hi guys, i try to send data directly to host MAC address(without using IPAdress). I am not a expert in network programming am just a beginner. In my search i found some ideas, that is we can use

          "SocketType.Raw"

          in socket to achieve this. But i cant understand it. Another thing is i need to acheive this without NDIS Protocol Driver. somebody pls explain me how to do it...is there any class or utility is avilable in .NET. Thanks in advance ganesh_IT

          modified on Monday, December 13, 2010 4:53 AM

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          You can't use the MAC address for application level comm. There are no application-level protocols that work with the data link layer. So you're trying to do this with a protocol driver? Forget it - not possible. What are you attempting to do with this?

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak

          G 1 Reply Last reply
          0
          • D Dave Kreskowiak

            You can't use the MAC address for application level comm. There are no application-level protocols that work with the data link layer. So you're trying to do this with a protocol driver? Forget it - not possible. What are you attempting to do with this?

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak

            G Offline
            G Offline
            ganesh_IT
            wrote on last edited by
            #5

            I am trying to do this for a academic project. Why we cant access the link layer. What i need to do for done this project explain me i can achieve this.... Thanks in advance ganesh_IT

            D 1 Reply Last reply
            0
            • G ganesh_IT

              I am trying to do this for a academic project. Why we cant access the link layer. What i need to do for done this project explain me i can achieve this.... Thanks in advance ganesh_IT

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              I didn't say you couldn't get at it. I said there are no application level protocols that can. You'd have to talk directly to the device driver through any interface it supports, but probably using DeviceIo calls. Without documentation on the driver itself, you'll get absolutely nowhere very fast.

              ganesh_IT wrote:

              What i need to do for done this project explain me i can achieve this....

              Achieve what? You haven't said anything about your project is about at all or why you think you need Link layer access to the NIC.

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups