ReactOS 0.4.15-dev-8093-g3285f69
SConnectByName.c
Go to the documentation of this file.
1#include "syshdrs.h"
2
3int
4SConnectByName(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 */
int SConnectByName(int sfd, const char *const addrStr, const int tlen)
Definition: SConnectByName.c:4
int SConnect(int sfd, const struct sockaddr_in *const addr, int tlen)
Definition: SConnect.c:9
GLuint64EXT * result
Definition: glext.h:11304
int AddrStrToAddr(const char *const, struct sockaddr_in *const, const int)
Definition: StrAddr.c:54