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



A co-worker of mine is using some of Scott Klements programs to learn to use
Sockets APIs.

She is working on a program that is based on CLIENTEX1. I beleive she
changed
it to use procedures, and added a display screen.

On screen she has a service field and a host name as well as a command line
and
a response field. When she enters 25 in the service and Bypass (our server
name)
in the host, she receives a response back.

She then enters 'HELO'  in the command field and presses enter. The program
goes into a loop that executes

rc = recv(sock: %addr(ch): 1: 0)

The first 3 times it receives back non-displayable characters and the 4th
time it hangs while on recv

She is translating from EBCIC to ASCII just before calling recv, and back
from
ASCII back to EBCDIC just before displaying the green screen.


She also was trying to key commands to talk to a couple devices we have on
the network that required an escape character, and a Carriage Return. When
she
typed those commands, nothing happened.

We are posting the source for it and wondering in Scott or anyone else
familiar
with the api would mind taking a look to see a problem jumps out at them.

Thank you much in advance for any help you can provide.








As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.