|
|
Using a raw socket (type SOCK_RAW), the programmer has access to the underlying communications protocols which support sockets, such as the IP. Raw sockets can be implemented variously depending on the interface provided by the communications protocols chosen.
Raw sockets are not intended for the general user. They are provided mainly for those interested in developing new communication protocols or for gaining access to some of the more esoteric facilities of an existing protocol.