2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

update isc_sockettype_t enum names

This commit is contained in:
Bob Halley
1999-07-13 02:04:39 +00:00
parent 8f0c024bf0
commit 2a28c946eb

View File

@@ -384,7 +384,7 @@ main(int argc, char *argv[])
sockaddr.type.sin.sin_family = AF_INET;
sockaddr.type.sin.sin_port = htons(5555);
sockaddr.length = sizeof (struct sockaddr_in);
RUNTIME_CHECK(isc_socket_create(socketmgr, isc_socket_tcp, &s0) ==
RUNTIME_CHECK(isc_socket_create(socketmgr, isc_sockettype_tcp, &s0) ==
ISC_R_SUCCESS);
RUNTIME_CHECK(isc_socket_bind(s0, &sockaddr) == ISC_R_SUCCESS);
RUNTIME_CHECK(isc_socket_listen(s0, 0) == ISC_R_SUCCESS);