getOneTCP static method
Implementation
static Future<PortConfig> getOneTCP(PortConfig config) async {
final channel = await Channel.getOpenIoTHubChannel();
final stub = CommonDeviceManagerClient(channel);
final response = await stub.getOneTCP(config);
print('Greeter client received: ${response}');
channel.shutdown();
return response;
}