We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90bfe21 commit 91cd7feCopy full SHA for 91cd7fe
1 file changed
art-samples/TcpServer/TCPServer.art
@@ -283,7 +283,7 @@ protected:
283
bool firstPort = true;
284
for (int i = actorData->numPorts; --i >= 0; ++portDescriptor ) {
285
RTProtocol* port = RTObjectOf( RTProtocol, portDescriptor->offset, this );
286
- if (port->getName() == "external" && port->getInfo()->protocol->name == "External")
+ if (!RTMemoryUtil::strcmp(port->getName(), "external") && !RTMemoryUtil::strcmp(port->getInfo()->protocol->name, "External"))
287
continue; // Skip the 'external' port of the TCPServer capsule since it's only for internal use
288
289
if (!firstPort)
0 commit comments