Jim Moore wrote:
>> lines 448 & 497:
>>   MSG_WAITALL is not a valid flag for sendmsg().
>>   
>>     
>
> Good catch. I see this same error in our initiator and the smb server 
> from where
> much of our networking code is modeled. In the case of sorecvmsg(), we
> would like to get a complete iSCSI packet or error. Is there something
> analogous in sosendmsg() where we queue a complete packet or get an error?
> Or do we need to loop on sosendmsg until the resid is zero ?
>   
Nope. You need to check uio_resid. It would probably be possible with 
kernel sockets (part of Volo), but you have to wait for that. ;-)

Anders
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to