SO_DOMAIN do not support on IBM i, using getsockname instead (#8437)
SO_DOMAIN do not support on IBM i, using getsockname instead (#8437)

Co-authored-by: GavinZhang <7fbecab83b5208c48af5c78729e32e93b05e7e06@cn.ibm.com>
dmlc/xgboost,dmlc/xgboost,dmlc/xgboost,dmlc/xgboost,dmlc/xgboost,dmlc/xgboost