char *resource;
struct ldl_buffer *buffer;
size_t x;
+ iks *msg;
+
+ msg = iks_make_s10n (IKS_TYPE_SUBSCRIBE, id, "pong");
+ apr_queue_push(handle->queue, msg);
apr_cpystrn(id, from, sizeof(id));
if ((resource = strchr(id, '/'))) {
apr_hash_set(handle->probe_hash, id, APR_HASH_KEY_STRING, &buffer);
msg = iks_make_s10n (IKS_TYPE_SUBSCRIBE, id, notice);
+
apr_queue_push(handle->queue, msg);
apr_queue_push(handle->queue, pres);
+
//schedule_packet(handle, next_id(), pres, LDL_RETRY);
started = apr_time_now();