(self, sock, bufsize, *args)
| 3206 | *(args + self.sendmsg_to_server_defaults[len(args):])) |
| 3207 | |
| 3208 | def doRecvmsg(self, sock, bufsize, *args): |
| 3209 | # Call recvmsg() on sock with given arguments and return its |
| 3210 | # result. Should be used for tests which can use either |
| 3211 | # recvmsg() or recvmsg_into() - RecvmsgIntoMixin overrides |
| 3212 | # this method with one which emulates it using recvmsg_into(), |
| 3213 | # thus allowing the same test to be used for both methods. |
| 3214 | result = sock.recvmsg(bufsize, *args) |
| 3215 | self.registerRecvmsgResult(result) |
| 3216 | return result |
| 3217 | |
| 3218 | def registerRecvmsgResult(self, result): |
| 3219 | # Called by doRecvmsg() with the return value of recvmsg() or |
no test coverage detected