Skip to content

addServiceTxt String return void not bool #1962

Closed
@miky2k

Description

@miky2k

void addServiceTxt(String name, String proto, String key, String value){
addServiceTxt(name.c_str(), proto.c_str(), key.c_str(), value.c_str());
}

should be

bool addServiceTxt(String name, String proto, String key, String value){
return addServiceTxt(name.c_str(), proto.c_str(), key.c_str(), value.c_str());
}

I'm trying to access txt of queried services can you give me an example ?

i found only
String hostname(int idx);
IPAddress IP(int idx);
uint16_t port(int idx);
to access queried services.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions