ReactOS  0.4.14-dev-49-gfb4591c
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 */
int SConnect(int sfd, const struct sockaddr_in *const addr, int tlen)
Definition: SConnect.c:9
int AddrStrToAddr(const char *const, struct sockaddr_in *const, const int)
Definition: StrAddr.c:54
int SConnectByName(int sfd, const char *const addrStr, const int tlen)
Definition: SConnectByName.c:4
GLuint64EXT * result
Definition: glext.h:11304