1. Kyle Griffis
  2. PowerBuilder
  3. Friday, 15 February 2019 19:40 PM UTC

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!

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 15 February 2019 20:11 PM UTC
  2. PowerBuilder
  3. # 1

Welcome  ... Have a nice holiday on Monday!

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 15 February 2019 20:04 PM UTC
  2. PowerBuilder
  3. # 2

Also, Chilkat has an ActiveX control for WebSocket client. They support PowerBuilder for all their products.

http://www.chilkatsoft.com/refdoc/xChilkatWebSocketRef.html

 

Comment
There are no comments made yet.
Kyle Griffis Accepted Answer Pending Moderation
  1. Friday, 15 February 2019 20:04 PM UTC
  2. PowerBuilder
  3. # 3

Thank you both, I will check these out over the weekend.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 15 February 2019 20:01 PM UTC
  2. PowerBuilder
  3. # 4
Comment
  1. Kyle Griffis
  2. Friday, 15 February 2019 20:05 PM UTC
Thank you Chris
  1. Helpful
  1. Roland Smith
  2. Friday, 15 February 2019 20:07 PM UTC
www.example-code.com is Chilkat's code example website.
  1. Helpful
  1. Song Tom
  2. Wednesday, 22 September 2021 13:03 PM UTC
Dear Roland, is there free component of websocket? seems Chilkat's is not free, I remember there is Powerserver in previous PB version, but seems not included in PB2017, do you know where can I get the PowerWebSocketClient.dll of PB2017?
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 15 February 2019 19:59 PM UTC
  2. PowerBuilder
  3. # 5

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

 

Comment
  1. Kyle Griffis
  2. Friday, 15 February 2019 20:05 PM UTC
Thank you Roland!
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.