# DL_IsServiceRunning

Header: AVLDL.h avl DeepLearning

Checks if the Deep Learning Service is running. If the input is empty, the filter will try to connect indefinitely.

### Syntax

void avl::DL_IsServiceRunning
(
atl::Optional<int> inTimeoutSeconds,
bool& outServiceRunning
)


### Parameters

Name Type Range Default Description
inTimeoutSeconds Optional<int> 0 - NIL Number of seconds for which the filter will try to connect
outServiceRunning bool& Returns the value (true or false) that informs about the connection