getpeername man page on AIX

Man page or keyword search:  
man Server   4752 pages
apropos Keyword Search (all sections)
Output format
AIX logo
[printable version]

GETPEERNAME(1)							GETPEERNAME(1)

NAME
       getpeername - get name of connected TCP/IP peer

SYNOPSIS
       getpeername [-n] [-p protocol]

DESCRIPTION
       getpeername prints the IP address and service name (port number) of the
       remote peer connected to standard input.	 The IP address and  the  ser‐
       vice name are printed on the same line, separated by one space.

OPTIONS
       -n     Don't translate IP addresses and port numbers to names.

       -p protocol
	      Force getpeername to use protocol as the protocol when translat‐
	      ing port numbers to service names.  Protocol can be tcp and udp.
	      Normally,	 getpeername  automatically  determines	 what  type of
	      socket it is connected to.

SEE ALSO
       getpeername(3).

BUGS
       Only works on IP sockets.

				 1997 April 13			GETPEERNAME(1)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server AIX

List of man pages available for AIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net