old/talk/talk/invite.c
/*
 * Tell the daemon to remove your invitation
 */
Tell the daemon to remove your invitation
Tell the daemon to remove your invitation
void
send_delete()
{
	msg.type = DELETE;
	msg.id_num = remote_id;
	daemon_addr.sin_addr = his_machine_addr;
	if (sendto(ctl_sockt, &msg, sizeof(CTL_MSG), 0,
	    (struct sockaddr *)&daemon_addr,
	    sizeof(daemon_addr)) != sizeof(CTL_MSG))
		perror("send_delete remote");
	msg.id_num = local_id;
	daemon_addr.sin_addr = my_machine_addr;
	if (sendto(ctl_sockt, &msg, sizeof(CTL_MSG), 0,
	    (struct sockaddr *)&daemon_addr,
	    sizeof(daemon_addr)) != sizeof(CTL_MSG))
		perror("send_delete local");
}
void send_delete ( ) { msg . type = DELETE ; msg . id_num = remote_id ; daemon_addr . sin_addr = his_machine_addr ; if ( sendto ( ctl_sockt , & msg , sizeof ( CTL_MSG ) , 0 , ( struct sockaddr * ) & daemon_addr , sizeof ( daemon_addr ) ) != sizeof ( CTL_MSG ) ) perror ( " " ) ; msg . id_num = local_id ; daemon_addr . sin_addr = my_machine_addr ; if ( sendto ( ctl_sockt , & msg , sizeof ( CTL_MSG ) , 0 , ( struct sockaddr * ) & daemon_addr , sizeof ( daemon_addr ) ) != sizeof ( CTL_MSG ) ) perror ( " " ) ; }
Tell the daemon to remove your invitation
Tell the daemon to remove your invitation
/*
	 * This is just a extra clean up, so just send it
	 * and don't wait for an answer
	 */