openvpn3
openvpn3 copied to clipboard
What is the correct way of using connect and stop function
Hello. I'm using the client api so I can make a simple client using this library. I use the function "connect" (in separate thread) to connect after using eval_config to add the configurations. then when I stop, I use the function "stop"
The problem is that when I want to connect again (i.e.: call connect again after stopping), the function returns immediately, How do I reconnect? or what is the mistake I'm doing in connecting/stopping ? Thanks in advance.
Hi I also want to implement a simple client function, how do you use it? Does this library implement normal functionality?