|
I would guess the only reason Cyndi's socket program has to run as a service is that the socket program must always be active on the pc and a service is the best way, in her case, to do that. An always active, listening socket program in windows can also run in a standalone window. When I wrote a pc to as400 socket appl a few years back I wrote the socket code in C++ as a DLL and provided some high level functions that were called from VB code. If I was doing it again I would write it all in VB as a COM activex class. -Steve -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Cyndi Bradberry Sent: Tuesday, August 19, 2003 6:55 AM To: 'Midrange Systems Technical Discussion' Subject: RE: iSeries to Windows socket connection Yes. We used the Sorcerer's Guide as the template for all our socket programs. Just remember that you will need to translate to ASCII you data before you send it to the PC. We did have to have a PC specialist create a DLL with winsock in it and that is registered on the PC. In our case we are supporting a webserver (IIS), and winsock had to run as a service. (I don't have to understand it, it just works ;-). Have fun with this. Cyndi B. Boise, ID _________________________________________________________
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.