Section: Linux Programmer's Manual (7) Updated: 2020-11-01 Index JM Home Page roff page 名前 ip - Linux IPv4 プロトコルの実装 書式 #include <sys/socket.h> #include <netinet/in.h> #include <netinet/ip.h> /* 上記のスーパーセット */ tcp_socket = socket(AF_INET, SOCK_STREAM, 0); udp_socket = socket(AF_INET, SOCK_DGRAM, 0); raw_socket = socket(AF_INET, SOCK_RAW, protocol); 説明 Linux は RFC 791 と RFC 1122 で記述されている Internet Pro