ReactOS 0.4.15-dev-7942-gd23573b
SConnectByName.c File Reference
#include "syshdrs.h"
Include dependency graph for SConnectByName.c:

Go to the source code of this file.


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.

6 int result;
7 struct sockaddr_in remoteAddr;
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
GLuint64EXT * result
Definition: glext.h:11304
int AddrStrToAddr(const char *const, struct sockaddr_in *const, const int)
Definition: StrAddr.c:54