ReactOS
0.4.16-dev-1-gcf26321
SConnectByName.c
Go to the documentation of this file.
1
#include "
syshdrs.h
"
2
3
int
4
SConnectByName
(
int
sfd,
const
char
*
const
addrStr,
const
int
tlen)
5
{
6
int
result
;
7
struct
sockaddr_in
remoteAddr;
8
9
if
((
result
=
AddrStrToAddr
(addrStr, &remoteAddr, -1)) == 0) {
10
result
=
SConnect
(sfd, &remoteAddr, tlen);
11
}
12
return
(
result
);
13
}
/* SConnectByName */
SConnectByName
int SConnectByName(int sfd, const char *const addrStr, const int tlen)
Definition:
SConnectByName.c:4
SConnect
int SConnect(int sfd, const struct sockaddr_in *const addr, int tlen)
Definition:
SConnect.c:9
result
GLuint64EXT * result
Definition:
glext.h:11304
AddrStrToAddr
int AddrStrToAddr(const char *const, struct sockaddr_in *const, const int)
Definition:
StrAddr.c:54
syshdrs.h
sockaddr_in
Definition:
winsock.h:509
modules
rosapps
applications
net
ncftp
sio
SConnectByName.c
Generated on Wed Sep 11 2024 06:06:18 for ReactOS by
1.9.6