create custom header tcp/ip vb.net or c#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raravaice
    New Member
    • Feb 2008
    • 4

    create custom header tcp/ip vb.net or c#

    I want create first 20 bytes tcp/ip packet in my program.
    how?
    sender ip!
    sender port!
    and more

    thank you
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    It would be nice if you would settle on a language, method and platform before asking for assistance. I assume that as all this is up in the air we are not dealing with a real world example.

    Comment

    • raravaice
      New Member
      • Feb 2008
      • 4

      #3
      Dear kenobewan

      i am newcommer.
      but what i use from class in .net framework for this.

      "i can`t good speak or write english"

      thank you

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        You should look into using the System.Net.Sock ets namespace.
        That will have objects for Socket level control, where you can attempt to create your own header for data.

        Comment

        Working...