inet_comm.h_old

lp245/config/inet_comm.h_old · 857 B

From the archive vmslp245.tar.gz

Download the archive   « Back to the archive contents

#define MAX_TEXT	1024

struct interactive {
    int socket;
    struct object *ob;		/* Points to the associated object */
    struct sentence *input_to;	/* To be called with next input line ! */
    struct sockaddr_in addr;
    char *prompt;
    int closing;		/* True when closing this socket. */
    char text[MAX_TEXT];
    int text_length;
    struct interactive *snoop_on, *snoop_by;
    int from_portal;		/* True if this player has arrived through a portal */
    int portal_socket;		/* All messages should go through this socket, if open */
    int out_portal;		/* True if going out through a portal. */
    int noecho;			/* Don't echo lines */
};

#define L_WAITING_FOR_NAME	1
#define L_LOGGED_ON		2

#define BACKEND_IN_BACKGROUND

#define HOST_NAME	"milou.cd.chalmers.se"

#define MAX_SOCKET_PACKET_SIZE	1024	/* Wild guess. */

#define ULTRASNOOP 0

Site Stats

Snippets: 1791
Codebases: 571