According to the manpage : "Typically, stream sockets can only successfully connect () once, datagram sockets can use connect () several times to change their connection." Therefore, if your socket is a TCP socket, the answer is "probably not"; if it is a UDP socket, the answer is "possible."
source
share