/* * close a connection. conn should be a value that was previously returned * by a call to player_connect() * * Returns: * 0 if everything is OK (connection closed) * -1 if something went wrong (connection not closed) */ int player_disconnect(player_connection_t* conn);