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
/
USendtoByName.c
< prev
next >
Wrap
C/C++ Source or Header
|
2001-11-19
|
386b
|
17 lines
#include "syshdrs.h"
#ifdef PRAGMA_HDRSTOP
# pragma hdrstop
#endif
int
USendtoByName(int sfd, const char *const buf, size_t size, int fl, const char *const toAddrStr, int tlen)
{
struct sockaddr_un toAddr;
int ualen;
int result;
ualen = (int) MakeSockAddrUn(&toAddr, toAddrStr);
result = USendto(sfd, buf, size, fl, &toAddr, ualen, tlen);
return (result);
} /* USendtoByName */