蓋索林 Gasolin

人們總是高估一年可以完成的事,卻低估十年能完成的事

0%

5th day of tracing INET6: setStatusString()

void TCPGenericCliAppBase::setStatusString(const char *s) { if (ev.isGUI()) displayString().setTagArg(“t”, 0, s); }

void TCPGenericCliAppBase::socketEstablished(int, void *) { // redefine to perform or schedule first sending ev << “connected\n”; setStatusString(“connected”); }