tcp_address_to_file()
#include "tcp.h" int tcp_address_to_file(ServerFile, Port, Host) char *ServerFile; int Port; char *Host;
This function writes the Port and Host to the file ServerFile to enable a client to find the server's address. This is useful when establishing a listener on a dynamic port.