Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Reading TCP data.

  • 04-11-2003 9:24pm
    #1
    Closed Accounts Posts: 1,567 ✭✭✭


    Hi.
    Could anyone here please point me in the direction of some
    well commented code on how to read data of a TCP packet.
    Specifically, i'd be interested in learning how to calculate
    the length (or size) of data in a TCP packet, and also where
    it begins inside the TCP_HEADER.

    Please don't reply with "use google" or "read rfc"
    I have tried those areas already so far.
    I'm a little stupid & need some help with this.

    Thanks


Comments

  • Closed Accounts Posts: 7,230 ✭✭✭scojones


    what programming language?


  • Closed Accounts Posts: 1,567 ✭✭✭Martyr


    It doesn't really matter.
    Lets say C/C++ or Java.


  • Registered Users, Registered Users 2 Posts: 629 ✭✭✭str8_away


    Try do a search with keyword "white paper" and "TCP"


  • Closed Accounts Posts: 423 ✭✭Dizz


    There's a TCP/IP library here that is documented and is a good learning tool (written in C++) can be used for nefarious uses if u are irresponsibly inclined :mad:

    Dizz


  • Closed Accounts Posts: 1,567 ✭✭✭Martyr


    Considering the language you used IrishDizz, I actually thought your information would be of USE.
    Perhaps you were under the nefarious(Typedef) idea it would.


  • Advertisement
  • Closed Accounts Posts: 423 ✭✭Dizz


    Well you wanted to know how to read and calc the size of tcp packets? I think if you look at the CIPCrafter and CTCPCrafter classes you might get some ideas there. There is always /usr/src/linux. Then again if that doesn't help maybe you might want to clarify exactly what you want in more detail.

    As to whether nefarious == Typedef, I have no idea.

    Dizz


Advertisement