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



Yes, it should definitely show on netstat ... I am sorry, I can't help with
RPG, though I have done this in C/400 (client and server) and Java (client)
and could post bits of code if it would be any help.

One possibility is that, if you *have* established a connection previously
& there are connections still listed on port 7000 further down the list in
netstat (not listeners, client connection(s)), even if their jobs have
ended, these client connections may need to be ended using option 4 from
netstat - then retry starting the server.

Mandy


|--------+----------------------->
|        |          "Chuck       |
|        |          Morehead"    |
|        |          <cbmorehead@n|
|        |          okuse.com>   |
|        |                       |
|        |          09/07/01     |
|        |          22:17        |
|        |          Please       |
|        |          respond to   |
|        |          MIDRANGE-L   |
|        |                       |
|--------+----------------------->
  >-----------------------------------------------------------------------|
  |                                                                       |
  |       To:     MIDRANGE-L@midrange.com                                 |
  |       cc:     (bcc: Mandy Shaw/ESolutions/Notability)                 |
  |       Subject:     Sockets Question                                   |
  >-----------------------------------------------------------------------|






In trying to learn more about sockets I started playing with an example
News/400 had published.  This utilized a service program SCKTPROC that
could
be bound to a module to give socket functionality to your program.  I
thought I understood the article and the concepts behind it.  However, when
I tried out the examples, with minor tweaking for my system (e.g. the IP
address for the client example had to be changed to match my AS/400), the
client fails to connect.  I have confirmed that the server job is running,
and in fact, appears to be working correctly according to the call stack.
However, when I do NETSTAT and check connections, I do not see anything on
port 7000 (the port I've assigned the server).  If a program is really
listening on the port for a connection, shouldn't it show up here?

Chuck Morehead


+---
| 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
+---


Regards,
Mandy Shaw

Notability Solutions plc
Kingfisher House
Frimley Business Park
Camberley
Surrey
GU16 5SG
UK

http://www.Notability.com
Email: Mandy.Shaw@Notability.com

Telephone: +44 (0)870 166 1000
DDI: +44 870 166 1324
Facsimile: +44 870 168 3920
Mobile: +44 7710 447966




----------------------------------------------------------------------
----------------------------------------------------------------------
Notability Solutions Plc.  Registered No. 3293155.
Registered @ Kingfisher House, Frimley Business Park, Frimley,
Surrey. GU16 5SG   U.K.

This message is intended only for the named addressee(s) and may
contain confidential and/or privileged information. If you are not the
named addressee you should not disseminate, copy or take any action
or place any reliance on it. If you have received this message in error
please notify postmaster@Notability.com and delete the message
and any attachments accompanying it immediately.
----------------------------------------------------------------------


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


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.