Hi, I am developing a receiver module using StellarisWare 10636, LM3S9B96, lwip1.3.2, safeRTOS.
I printed out a certain message on LCD to see if socket is bound properly. ?<http://e2e.ti.com/support/microcontrollers/stellaris_arm/f/471/p/291329/1016639.aspx#> 1 2 3 4 5 6 7 8 9 10 11 12 13 while((socket_fd = lwip_socket(AF_INET, SOCK_DGRAM, 0)) == 0) { DisplayString(115, 210 - 10, " lwip socket error... "); //xTaskDelay(CHGD_OPEN_TIME); xTaskDelay(SECONDS(5));//arbitrary time for test } //bind socket to the local address and port if(*lwip_bind*(socket_fd, (struct sockaddr *) &sClient, sizeof(sClient)) == -1) { lwip_close(socket_fd); DisplayString(115, 190 - 10, " bind error "); } and lwip_bind() returns -1 as a result "bind error" is displayed on LCD, but I don't see a print-out message in lwip_socket(). I wonder why socket can not be bound properly. Does anyone have any idea? Thanks, Jin
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
