Section: Linux Programmer's Manual (2) Updated: 2007-12-28 Index JM Home Page roff page åå listen - ã½ã±ãã(socket)ä¸ã®æ¥ç¶ãå¾ ã¤ æ¸å¼ #include <sys/types.h> /* ã注æãåç § */ #include <sys/socket.h> int listen(int sockfd, int backlog); 説æ listen() 㯠sockfd ãåç §ããã½ã±ãããæ¥ç¶å¾ ã¡ã½ã±ãã (passive socket) ã¨ãã¦å°ãã¤ããã æ¥ç¶å¾ ã¡ã½ã±ããã¨ã¯ã accept(2) ã使ã£ã¦å°çããæ¥ç¶è¦æ±ãåãä»ããã®ã«ä½¿ç¨ãããã½ã±ããã§ããã sockfd å¼ãæ°ã¯ã SOCK_STREAM åã SOCK_SEQPACKET åã®ã½ã±ãããåç §ãããã¡ã¤
{{#tags}}- {{label}}
{{/tags}}