-
Ports mit API
Hallo Michael,
ich habe dies hier auf die schnelle gefunden:
Are there any commands or API's available which retrieve information relating to TCP/IP port numbers?
A: There are the getservbyname() and getservbyname_r() API's which allow you to retrieve an associated port for a given service name. Unfortunately, the results do not indicate whether the specific service is running. Furthermore, if a third party program is using a specific port, it will most likey not be registered in the services file.
The List Network Connections (QtocLstNetCnn) API can be used to retrieve status for the full range of local ports, or a subset of the ports, or by local IP address. The information returned will show if any given port is being used and what the status of it is. The InfoCenter describes this API in more detail.
The Retrieve Network Connection Data (QtocRtvNetCnnDta) API can be used to identify the job/program associated with an active port. Information for this API can also be found in the InfoCenter.
NOTE: The InfoCenter has become our primary source of information for questions such as this.
http://publib.boulder.ibm.com/pubs/h...nfocenter.html
Similar Threads
-
By Eric in forum NEWSboard Drucker
Antworten: 0
Letzter Beitrag: 25-09-05, 21:56
-
By Proggi in forum NEWSboard Programmierung
Antworten: 6
Letzter Beitrag: 14-09-05, 16:58
-
By cc in forum IBM i Hauptforum
Antworten: 3
Letzter Beitrag: 13-10-04, 22:49
-
By rcide in forum IBM i Hauptforum
Antworten: 3
Letzter Beitrag: 27-08-04, 13:04
-
By itag in forum IBM i Hauptforum
Antworten: 5
Letzter Beitrag: 03-01-02, 12:33
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- You may not post attachments
- You may not edit your posts
-
Foren-Regeln
|
Erweiterte Foren Suche
Google Foren Suche
Forum & Artikel Update eMail
AS/400 / IBM i
Server Expert Gruppen
Unternehmens IT
|
Kategorien online Artikel
- Big Data, Analytics, BI, MIS
- Cloud, Social Media, Devices
- DMS, Archivierung, Druck
- ERP + Add-ons, Business Software
- Hochverfügbarkeit
- Human Resources, Personal
- IBM Announcements
- IT-Karikaturen
- Leitartikel
- Load`n`go
- Messen, Veranstaltungen
- NEWSolutions Dossiers
- Programmierung
- Security
- Software Development + Change Mgmt.
- Solutions & Provider
- Speicher – Storage
- Strategische Berichte
- Systemmanagement
- Tools, Hot-Tips
Auf dem Laufenden bleiben
|
Bookmarks