(self, host, prog, vers)
| 538 | """A TCP Client that find their server through the Port mapper |
| 539 | """ |
| 540 | def __init__(self, host, prog, vers): |
| 541 | pmap = TCPPortMapperClient(host) |
| 542 | port = pmap.get_port((prog, vers, IPPROTO_TCP, 0)) |
| 543 | pmap.close() |
| 544 | if port == 0: |
| 545 | raise RPCError('program not registered') |
| 546 | RawTCPClient.__init__(self, host, prog, vers, port) |
| 547 | |
| 548 | |
| 549 | class UDPClient(RawUDPClient): |
nothing calls this directly
no test coverage detected