I have a Win Desktop application that connects to websocket server using TCPSocket control and it works well.
Now I have downloaded Xojo for Mac (OS X Lion fresh install with Xojo only) to test the same application and I keep getting a 102 lastErrCode on every single connection attempt. The port number is 21055 which is a safe port to connect to I guess.
Not sure exactly what is happening,… Do I need to instruct Mac OS X to accept the connection ? I am not well versed with Mac.
It is not a SSL Connection. I get different information onConnect:
This is exactly the same Xojo Binary File and Windows works okay, but Mac returns me:
HTTP/1.0 502 Bad Gateway??Cache-Control: no-cache??Connection: close??Content-Type: text/html????<html><body><h1>502 Bad Gateway</h1>?The server returned an invalid or incomplete response.?</body></html>?
No need, Carbon saved me, lol Thanks. For instance, a custom background color of a texbox shows correctly in Carbon (correct color), with Cocoa it is approximate but is incorrect.