Hi all.
I have to develop in my application a task which sends email on certain events. The provide address will be programmed.
I will use dns to resolve the provider address.
After, i will try to connect to it: if server will be down for some reason, my task will be block forever!!!!
I need to avoid blocking task... is there a work around?
i developed some servers inside the application, and i used select for listener, but i don't know how can avoid client blocks in connect request.
Some help?
Bye
Piero