× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Well, maybe if we change "read that socket" to "listen to that socket" . . . ; )

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Monday, December 22, 2014 2:18 PM
To: Midrange Systems Technical Discussion
Subject: Re: Sent kBytes: 64

Rob,

You can't "send a socket" over a network. A socket is a software "device" that your program uses to communicate with the networking code in the operating system. This networking code will send data over a network, but it doesn't send the socket...

The analogy I use when teaching is that a socket is like a telephone.
When you make a phone call your words (data) gets sent to the other person... but the phone itself doesn't actually get sent :-)

Also, I don't understand how reading the code for FTPAPI will help Gary understand why a completely different program is putting status messages on his screen...?


On 12/22/2014 2:37 PM, rob@xxxxxxxxx wrote:
If you really want to get down to the 'nitty gritty' then I'd look at
http://www.scottklement.com/ftpapi/
and the "RPG Does TCP/IP" presentation at
http://www.scottklement.com/presentations/

Basically your 'client' communicates with another server. That server
send a 'socket' with that information in it. You read that socket and
then display that information. It's not something that's gleaned from
any joblog or anything.

Some ftp clients can be configured to log this script output to files.
You might then be able to search those files. Of course, these files
are likely to be stream files and be outside of the QSYS.LIB file system.


Rob Berendt

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.