yumapro
24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
ncx_tcp.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023, YumaWorks, Inc., All Rights Reserved.
3
*
4
* Unless required by applicable law or agreed to in writing,
5
* software distributed under the License is distributed on an
6
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
7
* KIND, either express or implied. See the License for the
8
* specific language governing permissions and limitations
9
* under the License.
10
*/
11
#ifndef _H_ncx_tcp
12
#define _H_ncx_tcp
13
14
/* FILE: ncx_tcp.h
15
*********************************************************************
16
* *
17
* P U R P O S E *
18
* *
19
*********************************************************************/
20
27
/*********************************************************************
28
* *
29
* C H A N G E H I S T O R Y *
30
* *
31
*********************************************************************
32
33
date init comment
34
----------------------------------------------------------------------
35
04-mar-23 abb Begun; from customer patch request
36
*/
37
38
39
#ifdef WINDOWS
40
#include <ws2tcpip.h>
41
#else
42
#include <sys/socket.h>
43
#endif
44
45
#ifdef __cplusplus
46
extern
"C"
{
47
#endif
48
49
/********************************************************************
50
* *
51
* F U N C T I O N S *
52
* *
53
*********************************************************************/
54
76
extern
int
77
ncx_tcp_connect
(
int
sockfd,
78
struct
sockaddr *name,
79
socklen_t namelen,
80
unsigned
short
timeout_sec,
81
int
*cp_errno);
82
83
84
88
#ifdef __cplusplus
89
}
/* end extern 'C' */
90
#endif
91
92
#endif
/* _H_ncx_tcp */
ncx_tcp_connect
int ncx_tcp_connect(int sockfd, struct sockaddr *name, socklen_t namelen, unsigned short timeout_sec, int *cp_errno)
Initiate a TCP socket using 'connect'.
Definition:
ncx_tcp.c:89
src
ncx
ncx_tcp.h
Copyright © 2012 - 2024, YumaWorks, Inc., All Rights Reserved. Generated by
1.9.5