2 ms·
So, the function in question operates on a socket object. In Java that would be implicit as the object on which you invoke the method, but in C it must be an e
by caf 13y ago
So, the function in question operates on a socket object. In Java that would be implicit as the object on which you invoke the method, but in C it must be an explicit function argument - that accounts for the first `fd` parameter.
The second mmsg parameter points to an array of compat_mmsg objects. In C, the array length must be passed as a separate parameter, so the second and third parameters are really one logical array parameter.