view libpurple/purple-client.h @ 21467:3d70e3ec8a47

My changes to disable external port mapping exposed a flaw where the server socket was being closed immediately, before the client had read all the data - this caused the client to receive a RST and consequently error. The solution is to wait for the client to close the connection before closing the server connection. I'm surprised this hasn't been a problem elsewhere - it seems like it would be.
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 13 Nov 2007 06:27:27 +0000
parents 32c366eeeb99
children
line wrap: on
line source

#ifndef _PURPLE_CLIENT_H_INCLUDED_
#define _PURPLE_CLIENT_H_INCLUDED_

#include <glib.h>
#include "purple-client-bindings.h"

G_BEGIN_DECLS

void purple_init(void);

G_END_DECLS

#endif