BASS_CONFIG_NET_TIMEOUT config option


The time to wait for a server to respond to a connection request.

BASS_SetConfig(
    BASS_CONFIG_NET_TIMEOUT,
    DWORD timeout
);

Parameters

timeoutThe time to wait, in milliseconds.

Remarks

The default timeout is 5 seconds (5000 milliseconds).

When playlist processing is enabled via the BASS_CONFIG_NET_PLAYLIST option, the timeout applies to each playlist entry rather than the playlist as a whole.

See also

BASS_GetConfig, BASS_SetConfig, BASS_StreamCreateURL, BASS_CONFIG_NET_BUFFER, BASS_CONFIG_NET_READTIMEOUT