First make sure you’re using the full stack.
Second, I seem to recall perl hitting the following:
There was a bug in the stack for a while where if the
last argument to recvfrom() was less on return from the
function than the value you passed in (it’s a value
result parameter), the data was returned at the wrong offset.
So since this is an AF_INET socket, make sure fromlen
is initialized as:
char from; /* for example */
fromlen = sizeof(struct sockaddr_in);
fromlen = sizeof(from)
This is fixed for 6.2.
Norton Allen <email@example.com> wrote:
: Are there any known “issues” with programming UDP sockets under
: QNX6? The perl test suite fails in a couple places while testing
: UDP functionality, and I thought I’d check before spending too
: much time digging into it.
: [Please copy reply to e-mail, or I’ll forget I ever asked]