Chapter 4: Open Server Server-Library/C Sample Programs
dynlisten.c sample program
The dynlisten.c sample
demonstrates how a running Open Server can start a new listener
on a wild-carded IP port number and retrieve the final address information
in a manner that can then be used to redirect logins or migrate connections.