Definition in file sktexdgmultmsg.c.
Go to the source code of this file.
Defines | |
#define | SOCKETNAME_SERVER "SktOne" |
#define | SOCKETNAME_CLIENT "SktTwo" |
#define | MSG_SIZE 100 |
Functions | |
void | run_client (int nclient) |
void | run_server (void) |
int | main (void) |
Variables | |
sockaddr_un | sa_server |
|
Definition at line 35 of file sktexdgmultmsg.c. |
|
Definition at line 31 of file sktexdgmultmsg.c. |
|
Definition at line 30 of file sktexdgmultmsg.c. |
|
Definition at line 110 of file sktexdgmultmsg.c. References exit(), run_client(), run_server(), sa_server, SOCKETNAME_SERVER, sockaddr_un::sun_family, sockaddr_un::sun_path, and unlink(). |
|
Definition at line 37 of file sktexdgmultmsg.c. References bind(), close(), EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, exit(), fork(), MSG_SIZE, read(), sa_server, sendto(), sleep(), socket(), SOCKETNAME_CLIENT, sockaddr_un::sun_family, sockaddr_un::sun_path, and unlink(). |
|
Definition at line 75 of file sktexdgmultmsg.c. References bind(), close(), EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, exit(), iovec::iov_base, iovec::iov_len, msghdr::msg_iov, msghdr::msg_iovlen, msghdr::msg_name, msghdr::msg_namelen, MSG_SIZE, recvmsg(), sa_server, sendmsg(), and socket(). |
|
Definition at line 33 of file sktexdgmultmsg.c. Referenced by main(), run_client(), and run_server(). |