ReactOS  0.4.13-dev-259-g5ca9c9c
SConnectByName.c File Reference
#include "syshdrs.h"
Include dependency graph for SConnectByName.c:

Go to the source code of this file.

Functions

int SConnectByName (int sfd, const char *const addrStr, const int tlen)
 

Function Documentation

◆ SConnectByName()

int SConnectByName ( int  sfd,
const char *const  addrStr,
const int  tlen 
)

Definition at line 4 of file SConnectByName.c.

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
GLuint64EXT * result
Definition: glext.h:11304