How can I develop a network application (client/server) that will work in the transport or network layers of the ISO OSI model? For example: if I don't wan't the system to pack a data in a TCP or UDP packet, but instead I want to use my own protocol? How can I achieve that?
Help will be very appreciated!
For the transport layer you should use raw sockets.
For the network layer you could use e.g. libpcap. See here for a simple HOWTO.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With