view mcabber/socket.h @ 19:0c2d2b79c4b5

[/trunk] Changeset 34 by mikael * Add writelog (but commented). This patch is a no-op. ;-)
author mikael
date Thu, 24 Mar 2005 20:22:41 +0000
parents b3b2332715fb
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