My own packet
i want to make my own packet.(i.e. i have to add header and data of a packet manually)
How can i do it by Qt?
what libraries can help me?
Thanks a lot.
This post is a bit unclear to me. What do you mean with a packet? Do you need to construct a library? What is your end goal?
Thanks for your response.
First pardon me because of my English writing.
I want to set my own information in the header & data of a packet.
For example, i want to set the ACK field or SEQ# Field,etc with my own information.
How can i do it?
Are there any library in Qt to help me?
I searched and found, I have to use winpcap/libpcap!
If there are another ways, please guide me.
Ah, you need to capture raw TCP/IP data packages. Hmm, search for the QNetwork classes and check that out.
There are a lot of classes made for communication via networks, so yes, there will be classes capable of what you want. No idea which one, never tried it.