home *** CD-ROM | disk | FTP | other *** search
/ ftp.ncftp.com / ftp.ncftp.com.zip / ftp.ncftp.com / libncftp / older_versions / libncftp-3.1.5-src.tar.gz / libncftp-3.1.5-src.tar / libncftp-3.1.5 / sio / UConnect.c < prev    next >
C/C++ Source or Header  |  2001-11-19  |  399b  |  16 lines

  1. #include "syshdrs.h"
  2. #ifdef PRAGMA_HDRSTOP
  3. #    pragma hdrstop
  4. #endif
  5.  
  6. extern int _SConnect(const int sfd, const struct sockaddr_in *const addr, const size_t saddrsiz, const int tlen);
  7.  
  8. int
  9. UConnect(int sfd, const struct sockaddr_un *const addr, int ualen, int tlen)
  10. {
  11.     int result;
  12.     
  13.     result = _SConnect(sfd, (const struct sockaddr_in *) addr, (size_t) ualen, tlen);
  14.     return (result);
  15. }    /* UConnect */
  16.