How to make payload?

103 views
Skip to first unread message

Nick Gian

unread,
Dec 19, 2022, 10:11:21 AM12/19/22
to OMNeT++ Users
Hello all
I want to make payload how i do that?

I want C++ code or example that already exists


Alfonso Ariza Quintana

unread,
Dec 19, 2022, 11:29:12 AM12/19/22
to omn...@googlegroups.com
If you are working with inet you can read the documentation
Representing Data¶. The Packet data structure builds on top of another set of data structures called chunks. Chunks provide several alternatives to represent a piece of data. INET provides the following built-in chunk C++ classes: Chunk, the base class for all chunk classes. repeated byte or bit chunk (ByteCountChunk, BitCountChunk)raw bytes or bits chunk (BytesChunk, BitsChunk)


De: omn...@googlegroups.com <omn...@googlegroups.com> en nombre de Nick Gian <giannop...@gmail.com>
Enviado: lunes, 19 de diciembre de 2022 16:11
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: [Omnetpp-l] How to make payload?
 
Hello all
I want to make payload how i do that?

I want C++ code or example that already exists


--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/828a1208-78aa-4dfb-8a12-1a9f6729e2b0n%40googlegroups.com.

Νίκος Γιαννόπουλος

unread,
Dec 19, 2022, 12:01:18 PM12/19/22
to omn...@googlegroups.com
Yes i use this. Have some examples to see the code? 

--
Με εκτίμηση - Yours sincerely,
Γιαννόπουλος Νικόλαος - Giannopoulos Nikolaos
Φοιτητής ΗΜΜΥ ΑΠΘ - ECE Student AUTh

Alfonso Ariza Quintana

unread,
Dec 19, 2022, 12:30:40 PM12/19/22
to omn...@googlegroups.com
You can see the IPv4 encapsulation, Ipv4.cc, also, you can see any of the sources, UdpBasicApp.cc

De: omn...@googlegroups.com <omn...@googlegroups.com> en nombre de Νίκος Γιαννόπουλος <giannop...@gmail.com>
Enviado: lunes, 19 de diciembre de 2022 18:01
Para: omn...@googlegroups.com <omn...@googlegroups.com>
Asunto: Re: [Omnetpp-l] How to make payload?
 
Reply all
Reply to author
Forward
0 new messages