s | ¼ÒÄÏ ½Äº°ÀÚ |
level | ¾Æ·¡ Å×À̺í ÂüÁ¶ |
optname | ¾Æ·¡ Å×À̺í ÂüÁ¶ |
optval | ¿É¼Ç°ª¿¡ ´ëÇÑ Æ÷ÀÎÅÍ |
optlen | ¿É¼Ç°ªÀ» ÀúÀåÇÒ °÷ÀÇ Å©±â¿¡ ´ëÇÑ Æ÷ÀÎÅÍ |
Level | Optname | Description |
IPPROTO_IP | IP_OPTIONS | Options in IP Header |
IPPROTO_TCP | TCP_MAXSEG | Get TCP maximum segment |
TCP_NODELAY | Don't delay send | |
SOL_SOCKET | SO_BROADCAST | Permit broadcast |
SO_DEBUG | Debug flag | |
SO_DONTROUTE | No routing | |
SO_ERROR | Get and clear error code | |
SO_KEEPALIVE | Keepalive probing | |
SO_LINGER | Linger on close | |
SO_OOBINLINE | Leave URG data in line | |
SO_RCVBUF | Receive buffer size | |
SO_SNDBUF | Send buffer size | |
SO_TYPE | Get socket type | |
SO_REUSEADDR | Local address reuse |
-1 | ¿¡·¯ |
0 | ¼º°øÀûÀ¸·Î ¼öÇà |
EFAULT | À߸øµÈ Æ÷ÀÎÅÍÇüÀÇ ÀÎÀÚ °ª |
EBADF | À߸øµÈ ³×Æ®¿öÅ© ¿¬°á ¹øÈ£ |
ENOPROTOOPT | ÇØ´çµÇ´Â ¿É¼ÇÀÌ ¾øÀ½. |