Hi, I want to listen the TCP connection and UDP connection on a single port. And use the select() to dectect the connection. I have two questions: 1. How can I build a socket for listening both of the two types of connection? 2. How can get to know it is a TCP connection or a UDP connection? - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html