Supportting get file description of socket base on transport protocol