#define MAX_TEXT 1024
struct interactive {
SOCKET 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 */
SOCKET portal_socket; /* All messages should go through this socket, if open */
int out_portal; /* True if going out through a portal. */
};
#define L_WAITING_FOR_NAME 1
#define L_LOGGED_ON 2
#define HOST_NAME "sourcery.dyndns.org"
#define MAX_SOCKET_PACKET_SIZE 1024 /* Wild guess. */