Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2000 Server Services File
Message
De
01/11/2002 14:04:46
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
2000 Server Services File
Divers
Thread ID:
00717955
Message ID:
00717955
Vues:
43
I need information from the c:\winnt\system32\drivers\etc\services file and I'm wondering if there is a good way to go about it? I've started working on opening the file and looping through every line until I find what I want but I have to believe there is a more efficient way of doing this. The line I'm looking for is:
van52 5200/tcp
and I need the 5200 number. Is there an API call to pull this or another way other then how I'm doing it?

THanks

Nichole
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform