- From: Michel Philip <mphilip@infovista.com>
- Date: Tue, 22 Jan 2002 12:40:04 -0500 (EST)
- To: "'www-lib@w3.org'" <www-lib@w3.org>
Hi, Have you tried this: ... HTRequest request = HTRequest_new(); HTRequest_setContext(request, myReq); myReq->timer = HTTimer_new(NULL, timer_callback, (void*)myReq, tm, true, false); ... int timer_callback(HTTimer* timer, void * param, HTEventType type) { t_myReq *myReq = (t_myReq *)inst; HTRequest request = myReq->request; HTTimer_delete(timer); myReq->timer = NULL; // To kill the request use: /* HTNet *net = HTRequest_net(request); HTNet_killPipe(net); */ } /mph
Received on Tuesday, 22 January 2002 13:03:50 UTC