SOCKET Ns_SockListen ( char *host, int port );
sock = Ns_SockListen("localhost", 25); while (1) { new = accept(sock, NULL, 0); ... communicate with client on new ... }
Top of Page
Copyright © 1996 America Online, Inc.