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


  • Subject: Re: socket programming question
  • From: Scott Klement <klemscot@xxxxxxxxxxxx>
  • Date: Fri, 6 Jul 2001 01:05:32 -0500 (CDT)


Yes...  You can connect to the same machine.   In fact, you do it exactly
the same way that you would connect to a different machine...  just
specify the IP address of the local machine when connecting.

Also, there's a special IP that allows you to connect to the same machine,
even if there are no other TCP/IP interfaces on your machine.  That would
be the "127.0.0.1" IP address, often referred to as "loopback" or
"localhost".

No special configuration or special communication objects are required.


On Thu, 5 Jul 2001, Steve Richter wrote:

> day 1 as an rpg socket pgmr ...
> 
> Can I test my pair of pgms on the same as400? One pgm listens and reads from
> a port, the other pgm, on the same as400, writes to that same port.
> 
> Similar to the Intra communication device used when testing an appc pgm.
> 
> Thanks,
> 
> Steve Richter
> ( my real name )
> 

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.