#include <errno.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/un.h>
#include <arpa/inet.h>
#include <sys/file.h>
#include <sys/types.h>
#include <fcntl.h>
tcpip.hのインクルード依存関係図
このグラフは、どのファイルから直接、間接的にインクルードされているかを示しています。
マクロ定義 | |
#define | ADINNET_PORT 5530 |
Default port number of A/D-in server (adinnet). | |
#define | CONNECTION_RETRY_TIMES 5 |
Retry time when client connection failed */. | |
#define | CONNECTION_RETRY_INTERVAL 2 |
Interval time between retry in seconds. | |
関数 | |
int | rd (int fd, char *data, int *len, int maxlen) |
Read a data segment from a network stream. | |
int | wt (int fd, char *data, int len) |
Write a data segment to a network stream. | |
int | ready_as_server (int port_num) |
int | accept_from (int sd) |
Wait for a request from client. | |
int | make_connection (char *hostname, int port_num) |
int | make_connection_unix (char *address) |
int | close_socket (int sd) |
void | cleanup_socket () |
tcpip.h で定義されています。
|
Read a data segment from a network stream. This function will block until the specified length has been received.
参照元 adin_tcpip_read(). |
|
Write a data segment to a network stream.
参照元 adin_tcpip_send_pause(), adin_tcpip_send_resume(), と adin_tcpip_send_terminate(). |
|
Prepare as a server creating a socket for client connection.
server-client.c の 40 行で定義されています。 |
|
Wait for a request from client. This function blocks until a connection request comes.
server-client.c の 116 行で定義されています。 参照元 adin_tcpip_begin(). |
|
Make a connection to a server.
server-client.c の 161 行で定義されています。 |
|
Make a connection to a server using unix domain socket.
server-client.c の 244 行で定義されています。 |
|
Close socket.
server-client.c の 277 行で定義されています。 参照元 adin_tcpip_end(), と main_module_loop(). |
|
Clean up socket data at program exit. server-client.c の 293 行で定義されています。 |