What steps will reproduce the problem? 1. Porting mailsend in the uClibc 0.9.30.2 environment.(ipv6 address will be returned first.)
Device can't connect to IPV6 address.
mailsend ver.1.17b14. What is the expected output? What do you see instead? For example, when entering: (mailsend -v -info -smtp smtp.gmail.com -port 587), it returns one ipv6 address and several ipv4 addresses back. If device failed to connect to first address(ipv6) returned, connection will fail to the rest of returned addresses(ipv4). What version of the product are you using? On what operating system? mailsend ver.1.17b14. Embedded Linux(on armv7). Please provide any additional information below. Problem solved:
[mailsend/libs/libmsock/msock.c : clientSocket()]
366c366
From peter....@3spocketnet.com.tw on November 26, 2013 02:44:07
What steps will reproduce the problem? 1. Porting mailsend in the uClibc 0.9.30.2 environment.(ipv6 address will be returned first.)
< rc = connect(sock_fd, res->ai_addr, res->ai_addrlen);
Original issue: http://code.google.com/p/mailsend/issues/detail?id=34