Hi everybody,

I found the error. I used the function recevfrom and the last two paramaters are a pointer to a buffer in a sockaddr structure that will hold the source address upon return and the length. My error was that I wrote there the address structure that I wanted to use later...Of course the recevfrom copies other values there....