> + env << "Bad port number (@1): " << port.num() << "\n"; > return -1; > } > #if defined(__WIN32__) || defined(_WIN32) > > Now, whenever a client connects to the proxy, I get errors such as: > > Bad port number (@1): 14875 > Bad port number (@1): 15131
You realize, I hope, that the function “Port:num()” returns the port number in network byte order. If you want to see the actual port number (in host order), you should be outputting “ntohs(port.num())” > In trying to debug something probably unrelated to this Please tell us what problem that you’re *really* having, rather than trying to diagnose the problem yourself. Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel