view mcabber/socket.h @ 3:582ef676a320

[/trunk] Changeset 18 by mikael Work on display: * Don't show incoming message when it doesn't match the current Window * Leave cursor in input window * Do not send ">>> " in outgoing messages! * Make some variables static
author mikael
date Fri, 18 Mar 2005 22:07:31 +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