on 07-15-2015 7:09 AM
Hi Folks,
I am looking for some ideas to realize inter-process communication with named pipe. After some googling I was really wondering because I found something about PowerBuilder I didn't know. Since PB 5 it is possible to create a "transport" instance and start listining for WinSock and NamedPipe Connection. The strange thing: The feature seems not to be in PB 12.6 anymore I didn't find a tip when and why it's gone.
New in PowerBuilder 5 - Writing a Server Application
Is there another way to realize named pipe commnunication? Any examples?
best regards
Benjamin
Okay, I know the ways to implement sockets in PB. But I thought about Pipes/Names Pipes to let PB services easily communicate with a C# process. For example to handle request from a n ASP.NET applications.
https://msdn.microsoft.com/library/Bb546085%28v=VS.110%29.aspx
IMHO: This is not a homework for Appeon, but for us(!) framework developers. Look at the .NET world. Is it solved in C# or in Visual Studio? No, it's solved in .NET Framework .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
=> IMHO: This is not a homework for Appeon, but for us(!) framework developers
OK ... I'll add named pipes to my list of framework feature enhancements.
I'm still pushing for DPB & named pipes back in PB though. With DPB we could build Application Servers that assist not only PB C/S applications, but also the Appeon Server and Web Services.
Hi Ben;
Yes, that feature was available in PB 5.0 with the introduction of the Distributed PowerBuilder (DPB) feature. Of course, DPB was removed (much to the dismay of the entire PB community) in version 8.0.
As a suggestion, you can use the following to enable Winsock features in PB 12.6 ...
1) Roland's Winsock (as David mentioned)
2) 3rd party products like ....
PowerTCP - http://www.dart.com/winsock-activex-library-api.aspx
SocketWrench (I have used this product .. its awesome). - SocketTools ActiveX Edition - SocketTools
etc ... Winsock Programmer's FAQ: Winsock Libraries and Controls
3) MS's Winsock control
Get the IP address - Real's PowerBuilder Howto
4) Included feature in my Integrated or Web Service framework.
5) Open Source - ie: SocksCap64 download | SourceForge.net
6) Via Java: http://pbdj.sys-con.com/node/35784
HTH
Regards ... Chris
PS: I have already been talking with the Appeon guys about DPB and why we should bring it back.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe it went in PB12, we have switched to using
Many thanks to Roland for putting that one up.
Cheers
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The transport object no longer exists (since PB 8 AFAIR). You have to use easerver or a custom object e.g. mswinsck.ocx for socket communication.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.