Here are the basic excerpts of my program without the error checking. I am getting an error 10035 from the recvfrom which indicates WSAEWOULDBLOCK which means that there is no data can be read from the m_Sockfd socket.
Does anyone know what the problem might be? I even tried doing a wait before doing the recvfrom. Ping6 program for the IPv6 address being tested works promptly from the command line. Regards Swati PORGRAM: int error; WORD wVersionRequested; WSADATA wsaData; wVersionRequested = MAKEWORD(2,2); WSAStartup(wVersionRequested, &wsaData); m_Sockfd = WSASocket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6,NULL,0,0); int n = setsockopt(m_Sockfd, SOL_SOCKET, SO_RCVBUF, &size, sizeof(size)); memset( m_SendBuff, 0, 64); memset( m_RecvBuff, 0, 64); len = sendto(m_Sockfd, m_SendBuff, hdr_len, 0, m_Ai->ai_addr, m_Ai->ai_addrlen) memset(m_Sarecv, 0, m_Len); int n = recvfrom(m_Sockfd, m_RecvBuff, sizeof(m_RecvBuff), 0, m_Sarecv, &m_Len); -------------------------------------------------------------------- IETF IPng Working Group Mailing List IPng Home Page: http://playground.sun.com/ipng FTP archive: ftp://playground.sun.com/pub/ipng Direct all administrative requests to [EMAIL PROTECTED] --------------------------------------------------------------------