- macOS 10.4–10.15Deprecated
The socket to inject the data on.
The address the data is from, only necessary on un-connected sockets. A copy of the address will be made, caller is responsible for freeing the address after calling this function.
The data and possibly control mbufs.
The separate control mbufs.
Flags indicating the type of data.
0 on success otherwise the errno error. If the function returns an error, the caller is responsible for freeing the mbuf.
Inject data in to the receive buffer of the socket as if it had come from the network.