General information
Category:
Coding, syntax & commands
Title:
2000 Server Services File
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only