I haven't been following this thread closely, but I have a thought for you.
You should be able to create a VB.Net or C# app that connects to the device.
Once you test it on the PC in Visual Studio you can move the EXE over to IBMi using the new Mono .Net functionality.
You'll probably more readily find .Net examples than RPG ones.
Food for thought.......
Regards,
Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com
------------------------------
message: 2
date: Wed, 27 Feb 2019 17:50:48 -0500
from: a4g atl <a4ginatl2@xxxxxxxxx>
subject: Re: Example socket program to send data to a non IBM i device
The problem is
If the device is online,
- I can connect to the device. The socket() is successful.
- If the device is on line but the port is not in listen mode, the program goes into a wait/retry mode at the connect(). This takes 3.5 minutes before returning control to the RPG program.
I tried adding the setsock() functions and trying that, but it would not change the situation.
Darryl.
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.