I am looking for examples or anything that shows how we might be able to consume web sockets in PowerBuilder ... is that possible?
Thank you!
I am looking for examples or anything that shows how we might be able to consume web sockets in PowerBuilder ... is that possible?
Thank you!
Welcome ... Have a nice holiday on Monday!
Also, Chilkat has an ActiveX control for WebSocket client. They support PowerBuilder for all their products.
http://www.chilkatsoft.com/refdoc/xChilkatWebSocketRef.html
Thank you both, I will check these out over the weekend.
Hi Kyle;
FYI: https://www.example-code.com/powerbuilder/websocket_send_receive_messages.asp
Regards ... Chris
Are you talking about a PB desktop app communicating with a WebSockets enabled web application?
I haven't tried it myself but it appears to be similar to the WinHTTP API.
Microsoft documentation:
https://docs.microsoft.com/en-us/windows/desktop/websock/web-socket-protocol-component-api-portal
I have some examples that may be helpful.
WinHTTP API:
http://www.topwizprogramming.com/freecode_winhttp.html
WinSock API:
http://www.topwizprogramming.com/freecode_winsock.html