Fetching network info in perl

by kalai 2008-11-22 20:44:10


* endprotoent - be done using protocols file
* endservent - be done using services file
* gethostbyaddr - get host record given its address
* gethostbyname - get host record given name
* gethostent - get next hosts record
* getnetbyaddr - get network record given its address
* getnetbyname - get networks record given name
* getnetent - get next networks record
* getprotobyname - get protocol record given name
* getprotobynumber - get protocol record numeric protocol
* getprotoent - get next protocols record
* getservbyname - get services record given its name
* getservbyport - get services record given numeric port
* getservent - get next services record
* sethostent - prepare hosts file for use
* setnetent - prepare networks file for use
* setprotoent - prepare protocols file for use
* setservent - prepare services file for use

Tagged in:

1131
like
0
dislike
0
mail
flag

You must LOGIN to add comments