Hi Does this work? setsockopt(raw_sock, IPPROTO_IP, IP_HDRINCL, (char *)&one, sizeof(one)); How do I have to define IP_HDRINCL? #define IP_HDRINCL ? Best, Hans -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com