tcp_address_from_file()
#include "tcp.h" int tcp_address_from_file(ServerFile, Port, Host) char *ServerFile; int *Port; char **Host;
This reads the server's address from the file ServerFile, which
was written by the server calling tcp_address_to_file/2
.
Note that *Host is a pointer to static storage that will be overwritten
at the next call to tcp_address_from_file()
.
tcp_address_from_file()
returns zero upon successful completion.