(self, host, prog, vers)
| 550 | """A UDP Client that find their server through the Port mapper |
| 551 | """ |
| 552 | def __init__(self, host, prog, vers): |
| 553 | pmap = UDPPortMapperClient(host) |
| 554 | port = pmap.get_port((prog, vers, IPPROTO_UDP, 0)) |
| 555 | pmap.close() |
| 556 | if port == 0: |
| 557 | raise RPCError('program not registered') |
| 558 | RawUDPClient.__init__(self, host, prog, vers, port) |
| 559 | |
| 560 | |
| 561 | class BroadcastUDPClient(Client): |
nothing calls this directly
no test coverage detected