Hi,
Am 2016-03-21 10:13, schrieb Sven Eckelmann:
+int connect_tcp(struct interface *interface, const struct in6_addr *dest) +{ [...] +}
Wouldn't this hang for a while and make the alfred server "unresponsive" when the remote is not reachable at this moment?.
Yes, it most definitely would, you're right.
If the route I'm following is generally right, I think I'll work on this part (*that* I can make into a different commit). The connect() can be made non-blocking, and I would add the socket and the request to send to a list (possibly using the transaction list that already exists right now).
-hwh