home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Magazine
/
wwwoffle-2.1.tar.gz
/
wwwoffle-2.1
/
sockets.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-12-28
|
984b
|
34 lines
/***************************************
$Header: /home/amb/wwwoffle/RCS/sockets.h 2.4 1997/12/28 15:58:55 amb Exp $
WWWOFFLE - World Wide Web Offline Explorer - Version 2.0a.
Socket function header file.
******************/ /******************
Written by Andrew M. Bishop
This file Copyright 1996,97 Andrew M. Bishop
It may be distributed under the GNU Public License, version 2, or
any higher version. See section COPYING of the GNU Public license
for conditions under which this file may be redistributed.
***************************************/
#ifndef SOCKETS_H
#define SOCKETS_H /*+ To stop multiple inclusions. +*/
/* in sockets.c */
int OpenClientSocket(char* host, int port);
int OpenServerSocket(int port);
int AcceptConnect(int socket);
int SocketRemoteName(int socket,char **name,int *ip,int *port);
int SocketLocalName(int socket,char **name,int *ip,int *port);
int CloseSocket(int socket);
char *GetFQDN(void);
#endif /* SOCKETS_H */