Using Connect and Bind on a Raw socket

Bind and connect API can be used on a RAW socket connection. However, it is normally not performed. The below snippets from the book “Unix Network Programming” describes the bind and connect operation as below: “bind can be called on the RAW socket, but this is rare. This function sets only the local address: There […]