Create a temporary name for a server
char *PtConnectionTmpName( char name[32] );
ph
This function creates a temporary name that can be given to a new server. The name argument is the buffer in which to build the name.
If the same client may generate more temporary names in the future, the server should destroy its connector as soon as the client has connected — currently, there's only room for a few unique temporary names per client.
A pointer to name, or NULL if a name couldn't be generated.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtConnectionFindId(), PtConnectionFindName(), PtConnectionWaitForName()
“Connections” in the Interprocess Communication chapter of the Photon Programmer's Guide