原文:【Linux C | 网络编程】getsockname 和 getpeername函数详解及C语言例子-CSDN博客