Compiling Bind 9.3.1 on OS/2 - sendmsg problem in socket.c

Paul Smedley paulat at smedleydot.info
Sat Dec 17 09:57:11 UTC 2005


As a folowup to my own post.....

On Fri, 16 Dec 2005 09:12:38 UTC, "Paul Smedley" 
<paulat at smedleydot.info> wrote:
> Well in the snippet of log there is a reference to socket.c line 1118.
>  This is a sendmsg() call which is failing with invalid parameter for 
> some reason :(

I built a debug version of named and set a breakpoint at the sendmsg()
call.

The parameters on msghdr part of sendmsg() (the only part that I can 
think that could be wrong) are:
msg_name = "\x10\x02\xC0]\xC0\xA0"   <== the ] seems out of place 
here???
msg_namelen = 28
msg_iov = 0x0027D8A0
msg_iovlen = 1
msg_control = NULL
msg_controllen = 0
msg_flags = 0

Anyone know what the typical values of msghdr are for this call? 

-- 
Cheers,

Paul.



More information about the bind-users mailing list