Peter Todd <[EMAIL PROTECTED]> writes:

> On Wed, May 23, 2001 at 02:02:38AM -0500, Steven Hazel wrote:
> >                         * Added freenet_close_connection()
> 
> It would be nice if there was a function to close a *stream* In my
> fnmap code I have cancel handlers setup to be absolutely cirtain
> that should a thread hang on me due to a libfreenet bug I can
> reliably close all connections.
> 
> Oh well, for now I'll just copy your code. :)

You can close a stream with
freenet_close_connection(stream.connection).  I am thinking about
having a freenet_close_stream(), but right now it would be kind of
pointless.

-S

_______________________________________________
Devl mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to