(self, sock, bufsize, *args)
| 3309 | *(args + self.sendmsg_to_server_defaults[len(args):])) |
| 3310 | |
| 3311 | def doRecvmsg(self, sock, bufsize, *args): |
| 3312 | # Call recvmsg() on sock with given arguments and return its |
| 3313 | # result. Should be used for tests which can use either |
| 3314 | # recvmsg() or recvmsg_into() - RecvmsgIntoMixin overrides |
| 3315 | # this method with one which emulates it using recvmsg_into(), |
| 3316 | # thus allowing the same test to be used for both methods. |
| 3317 | result = sock.recvmsg(bufsize, *args) |
| 3318 | self.registerRecvmsgResult(result) |
| 3319 | return result |
| 3320 | |
| 3321 | def registerRecvmsgResult(self, result): |
| 3322 | # Called by doRecvmsg() with the return value of recvmsg() or |
no test coverage detected