NI_DGRAM 2005 ext/socket/constdefs.c #if defined(NI_DGRAM) NI_DGRAM 2007 ext/socket/constdefs.c rb_define_const(rb_cSocket, "NI_DGRAM", INTEGER2NUM(NI_DGRAM)); NI_DGRAM 2009 ext/socket/constdefs.c rb_define_const(rb_mSockConst, "NI_DGRAM", INTEGER2NUM(NI_DGRAM)); NI_DGRAM 1660 ext/socket/constdefs.h #if !defined(NI_DGRAM) NI_DGRAM 1662 ext/socket/constdefs.h # define NI_DGRAM NI_DGRAM NI_DGRAM 183 ext/socket/getnameinfo.c struct servent *sp = getservbyport(port, (flags & NI_DGRAM) ? "udp" : "tcp"); NI_DGRAM 1932 ext/socket/raddrinfo.c flags |= NI_DGRAM; NI_DGRAM 1308 ext/socket/socket.c hints.ai_socktype = (fl & NI_DGRAM) ? SOCK_DGRAM : SOCK_STREAM;