Subversion Repositories seema-scanner

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 jakw 1
/*****************************************************************************
2
 **             TEXAS INSTRUMENTS PROPRIETARY INFORMATION
3
 **
4
 **  (c) Copyright, Texas Instruments Incorporated, 2012-2013.
5
 **      All Rights Reserved.
6
 **
7
 **  Property of Texas Instruments Incorporated. Restricted Rights -
8
 **  Use, duplication, or disclosure is subject to restrictions set
9
 **  forth in TI's program license agreement and associated documentation.
10
 ******************************************************************************/
11
/**
12
 *
13
 * @file    tcp_client.h
14
 *
15
 * @brief	This file contatins functions related to TCP communication. Based on
16
 *			on the platform and development environment functions can be implemented.
17
 **/
18
/*****************************************************************************/
19
 
20
#ifndef TCP_CLIENT_H_
21
#define TCP_CLIENT_H_
22
 
23
#ifdef __cplusplus
24
extern "C" {
25
#endif
26
 
27
#define TRUE                    1
28
#define FALSE                   0
29
 
30
 
31
    int TCP_Connect(char *host, unsigned long int  port);
32
    int TCP_Send(int sock,  unsigned char *buffer, int length);
33
    int TCP_Receive(int sock, unsigned char *buffer, int length);
34
    int TCP_Disconnect(int sock);
35
 
36
#ifdef __cplusplus
37
}
38
#endif
39
 
40
 
41
#endif /* TCP_CLIENT_H_ */
42