#include <cogent.h>
int IP_ListenToService(
char* service, int backlog )
;
The service name, as found in /etc/services.
The number of connection requests that are allowed to be simultaneously pending.
This function wraps the listen library call, and registers the resulting file descriptor with the IP_Receive function. Prior to calling listen, this function looks up the service name to produce a port number which is given to IP_ListenToPort.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.