nw_connection_group_send_message(_:_:_:_:_:)
Sends data to the entire group, or to a specific member of the group.
Declaration
func nw_connection_group_send_message(_ group: nw_connection_group_t, _ content: dispatch_data_t?, _ endpoint: nw_endpoint_t?, _ context: nw_content_context_t, _ completion: @escaping nw_connection_group_send_completion_t)Parameters
- group:
The connection group you use to send.
- content:
The data to send.
- endpoint:
An optional endpoint that specifies a member of the group that receives the data. If the endpoint is
nil, the data will be sent to the entire group. - context:
The metadata that defines how the message is sent.
- completion:
A completion that notifies you when the connection group has processed and sent the data.
See Also
Functions
nw_advertise_descriptor_copy_txt_record_object(_:)nw_advertise_descriptor_create_application_service(_:)nw_advertise_descriptor_create_bonjour_service(_:_:_:)nw_advertise_descriptor_get_application_service_name(_:)nw_advertise_descriptor_get_no_auto_rename(_:)nw_advertise_descriptor_set_no_auto_rename(_:_:)nw_advertise_descriptor_set_txt_record(_:_:_:)nw_advertise_descriptor_set_txt_record_object(_:_:)nw_browse_descriptor_create_application_service(_:)nw_browse_descriptor_create_bonjour_service(_:_:)nw_browse_descriptor_get_application_service_name(_:)nw_browse_descriptor_get_bonjour_service_domain(_:)nw_browse_descriptor_get_bonjour_service_type(_:)nw_browse_descriptor_get_include_txt_record(_:)nw_browse_descriptor_set_include_txt_record(_:_:)