forked from cory/tildefriends
Some plumbing to expose the actual bound SHS port so that I can make a dynamic room app.
This commit is contained in:
@ -316,8 +316,9 @@ void tf_ssb_connect_str(tf_ssb_t* ssb, const char* address);
|
||||
** Begin listening for SHS connections on the given port.
|
||||
** @param ssb The SSB instance.
|
||||
** @param port The port number.
|
||||
** @return The assigned port on success or 0 on failure.
|
||||
*/
|
||||
void tf_ssb_server_open(tf_ssb_t* ssb, int port);
|
||||
int tf_ssb_server_open(tf_ssb_t* ssb, int port);
|
||||
|
||||
/**
|
||||
** Stop listening for SHS connections.
|
||||
|
Reference in New Issue
Block a user