/*
// ColdMUD was created and is copyright 1993, 1994 by Greg Hudson
//
// ColdX is a derivitive work, and is copyright 1995 by the ColdX Project.
// Full copyright information can be found in the file doc/CREDITS
//
// File:        net.h
// Version:     0.1-5
// Last Edited: 18 May 1995
//
// ---
//
// Declarations for network routines.
*/

#ifndef NET_H
#define NET_H
#include "io.h"

int get_server_socket(int port);
int io_event_wait(long sec, Connection *connections, Server *servers,
		  Pending *pendings);
long non_blocking_connect(char *addr, int port, int *socket_return);
String *hostname(char *addr);
String *ip(char *addr);

extern long server_failure_reason;

#endif