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. how to send a packet to device , the simplest way?

how to send a packet to device , the simplest way?

Scheduled Pinned Locked Moved C#
tutorialsysadminquestion
2 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.
  • J Offline
    J Offline
    jinzhecheng
    wrote on last edited by
    #1

    I am trying to send some message to an embeded device. its a very simple protocol , for example., according to the documentation , When a client send a packet"0x0000", the device reboot, when send "0x0011 0x0001", the device start to to rotate a certain degree. I am a newbie to network programming, need a quick example on how to send a packet to a tcp/ip listener. Thanks a lot!

    P 1 Reply Last reply
    0
    • J jinzhecheng

      I am trying to send some message to an embeded device. its a very simple protocol , for example., according to the documentation , When a client send a packet"0x0000", the device reboot, when send "0x0011 0x0001", the device start to to rotate a certain degree. I am a newbie to network programming, need a quick example on how to send a packet to a tcp/ip listener. Thanks a lot!

      P Offline
      P Offline
      Phillip H Blanton
      wrote on last edited by
      #2

      Well, it may be self serving, but TransPort is the simplest way. http://www.componentscience.net/elements/transport Phillip H. Blanton www.ComponentScience.net Email: Phillip at that domain that you see one line above the line you are reading now.

      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