After creating a socket, how can I find out that the connection path is available or not? Please see the following codes, assume that path isn't available. How can I detect it after s1.connect(path)?
s1 = Socket(PUSH)
s1.connect(path)
s1.send(makeCapnpPacket().to_bytes())