view mcabber/src/socket.h @ 34:f78ffe7ce43d

[/trunk] Changeset 50 by mikael * Fix a bug in the UTF-8 encoder.
author mikael
date Mon, 04 Apr 2005 18:00:51 +0000
parents e88b15cbf2de
children
line wrap: on
line source

#ifndef __SOCKET_H__
#define __SOCKET_H__ 1

#include <sys/socket.h>

int sk_conn(struct sockaddr *name);
int sk_send(int sock, char *buffer);
char *sk_recv(int sock);

#endif