Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Binding using socket call gethostbyname z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference SC27-3660-00 |
|
Figure 1 shows another example of socket call bind(). It uses the utility routine gethostbyname() to find the internet address of the host, rather than using socket call inet_addr with a specific address. Figure 1. A bind() call
using gethostbyname()
|
Copyright IBM Corporation 1990, 2014
|