AnsweredAssumed Answered

Problem socket() on mqx3.8

Question asked by Clement LAMBERT on May 11, 2012
Latest reply on May 29, 2012 by FRED WEDEMEIER

Hi everyone,


I have a problem using the socket() function in mqx 3.8 when program pass on this function it look like the processor have interruption pending every-time.

My code :


sock_handle = socket(AF_INET, SOCK_STREAM, 0);
                        if(sock_handle == RTCS_SOCKET_ERROR)
                            printf("socket failed\n\n");


when I execute this code it launch the isr default function of mqx...

Is anyone have an idea? Or the same problem?

I use mqx 3.8 with codewarrior 10.2 on the TWR-K60N512 dev-Kit


Best regard,