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. C#
  4. Sending Raw Ethernet packet over Dial up (Modem)

Sending Raw Ethernet packet over Dial up (Modem)

Scheduled Pinned Locked Moved C#
jsontutorialquestion
5 Posts 2 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.
  • S Offline
    S Offline
    spiritboy
    wrote on last edited by
    #1

    hi there, i have an application that i want to send raw packets through dial up, i have a lan that i can send packets to easily, but it does not work for dial up i know the ways such as WinPcap, SharpPcap(managed code working with WinPcap), NDIS Driver API, that allows to send and capture packets but they only can send raw packets to lan! not to my dial up connection! any one knows how to do that?

    L 1 Reply Last reply
    0
    • S spiritboy

      hi there, i have an application that i want to send raw packets through dial up, i have a lan that i can send packets to easily, but it does not work for dial up i know the ways such as WinPcap, SharpPcap(managed code working with WinPcap), NDIS Driver API, that allows to send and capture packets but they only can send raw packets to lan! not to my dial up connection! any one knows how to do that?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      If your modem is connected and you get an IP address, then use socket or tcpclient to create a connection. If you want to send a raw data, then use SerialPort class, if your modem is connected to serial port. Search in google about AT command.

      S 1 Reply Last reply
      0
      • L Lost User

        If your modem is connected and you get an IP address, then use socket or tcpclient to create a connection. If you want to send a raw data, then use SerialPort class, if your modem is connected to serial port. Search in google about AT command.

        S Offline
        S Offline
        spiritboy
        wrote on last edited by
        #3

        i don't think that we can communicate with 56-Kbps Dial up Modem using cat3 twisted pair(telephone line ) with SerialPort! , by the way thanks

        L 1 Reply Last reply
        0
        • S spiritboy

          i don't think that we can communicate with 56-Kbps Dial up Modem using cat3 twisted pair(telephone line ) with SerialPort! , by the way thanks

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          ??? Your PC is connected to the modem using serial cable / internal modem, and not through cat3 twisted pair. If you see in control panel, your modem is connected to COMxxx. Just use SerialPort class to connect to that COMxxx.

          S 1 Reply Last reply
          0
          • L Lost User

            ??? Your PC is connected to the modem using serial cable / internal modem, and not through cat3 twisted pair. If you see in control panel, your modem is connected to COMxxx. Just use SerialPort class to connect to that COMxxx.

            S Offline
            S Offline
            spiritboy
            wrote on last edited by
            #5

            but when i am connected at the internet through dialup, i can not bind to its com port, and open the port to send and recieve.

            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