#include "angband.h"
#include <stdio.h>
#include <stdarg.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <sys/time.h>
#include <setjmp.h>
#include <signal.h>
#include <stdlib.h>
関数 | |
void | set_proxy (char *default_url, int default_port) |
int | soc_write (int sd, char *buf, size_t sz) |
static void | restore_signal (void) |
static void | interrupt_report (int sig) |
int | connect_server (int timeout, const char *host, int port) |
int | disconnect_server (int sd) |
cptr | soc_err () |
変数 | |
static cptr | errstr |
static char * | proxy |
static int | proxy_port |
static sigjmp_buf | env |
static void(* | sig_int_saved )(int) |
static void(* | sig_alm_saved )(int) |
int connect_server | ( | int | timeout, |
const char * | host, | ||
int | port | ||
) |
int disconnect_server | ( | int | sd | ) |
|
static |
|
static |
void set_proxy | ( | char * | default_url, |
int | default_port | ||
) |
cptr soc_err | ( | void | ) |
int soc_write | ( | int | sd, |
char * | buf, | ||
size_t | sz | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |