× 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.



The equipment used is a Linx V Data Collection terminal using TCP/IP. Has
anyone out there used Scott's socket programs in RPG ILE to connect to one
of these?

Thanks all
Bill H

----- Original Message ----- 
From: "Scott Klement" <klemscot@xxxxxxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Sent: Monday, July 07, 2003 11:21 PM
Subject: Re: Sockets and Time Clocks?


> >
> > But I'm new to sockets and kind of lost on the "Time Clock as Client"?
> >
>
> Everything has a protocol that it speaks.  You have to learn that protocol
> to know what is required to implement this.
>
> I am not aware of any RFCs that document a standard protocol for Time
> Clocks....  There may be one, but I haven't yet run across it.
>
> Therefore, you'll have to find out from the company that's selling you the
> clocks and/or company that makes the clocks exactly how they talk to their
> server.  If there is no standard, it seems unlikely that every clock
> on the market would use the same protocol, so you'll want to get
> information for your specific model from the people who are selling it to
> you, or from the manufacturer.   Should just be a TCP or UDP connection,
> where messages are sent indicating each "punch", and you have to respond
> in the correct way.
>
> Once you're armed with that kind of information, the rest shouldn't be so
> difficult :)
>
> My hunch would be that they'd send UDP packets containing a time stamp and
> some employee ID number, and probably expect a packet back acknowledging
> it.   I can't think of a reason they'd want to make it any more
> complicated than that...   and using TCP would seem silly for something
> this small -- but that's just a hunch.
>
> > Tips,Comments, and/or knock in head always accepted.
>
> I'm interested in hearing how this turns out...   :)
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.