- macOS 10.4–10.15Deprecated
The socket to inject the data on.
The address the data should be sent to, only necessary on un-connected sockets. The caller is responsible for freeing the to address after sock_inject_data_out returns.
The data and possibly control mbufs.
The separate control mbufs.
Flags indicating the type of data.
0 on success otherwise the errno error. The data and control values are always freed regardless of return value.
Inject data in to the send buffer of the socket as if it had come from the client.