view mcabber/socket.h @ 1:da1fb510081e

[/trunk] Changeset 16 by mikael * Start using an "input line" at the bottom. Only "/quit" is understood at the moment... :)
author mikael
date Wed, 16 Mar 2005 22:18:54 +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