rsked/mpdclient.cc
/// Configure the way Mpd_client will connect to MPD.  This has no
/// effect on any existing connection: disconnect() then connect() to
/// make new parameters take effect.  With just 1 argument, the host
/// indicates a unix socket pathname.  Port=0 indicates the default
/// port, usually 6600.
///
Configure the way Mpd_client will connect to MPD.  This has no
effect on any existing connection: disconnect() then connect() to
make new parameters take effect.  With just 1 argument, the host
indicates a unix socket pathname.  Port=0 indicates the default
port, usually 6600.
Configure the way Mpd_client will connect to MPD . This has no effect on any existing connection : disconnect () then connect () to make new parameters take effect . With just 1 argument the host indicates a unix socket pathname . Port = 0 indicates the default port usually 6600 .
void Mpd_client::set_connection_params( const std::string &host, unsigned port )
{
    m_port = port;
    m_socket_path = host;
}
void Mpd_client :: set_connection_params ( const std :: string & host , unsigned port ) { m_port = port ; m_socket_path = host ; }
Configure the way Mpd_client will connect to MPD.
Configure the way Mpd_client will connect to MPD .