root/vtcross/trunk/src/include/vtcross/socketcomm.h @ 174

Revision 174, 0.7 KB (checked in by bhilburn, 15 years ago)

Moving the SendMessage? function over to a const char*, which (I think) should be
the proper way to do it. Still need someone to explain the '\0000' in the old
function...

Line 
1/* Virginia Tech Cognitive Radio Open Source Systems
2 * Virginia Tech, 2009
3 *
4 * TODO LICENSE INFORMATION GOES HERE
5 */
6
7/* TODO DESCRIPTION OF FILE.
8 */
9
10#ifndef SOCKET_COMM_H
11#define SOCKET_COMM_H
12
13#include <stdint.h>
14
15
16/* TODO
17 */
18void ReadMessage(int32_t socketFD, char* msgBuffer);
19
20
21/* TODO
22 */
23int32_t ClientSocket(char* serverName, char* portNumber);
24
25
26/* TODO
27 */
28//int32_t SendMessage(int32_t socketFD, char* message);
29int32_t SendMessage(int32_t socketFD, const char* message) ;
30
31
32/* TODO
33 */
34int32_t GetParameter(int32_t socketFD, struct Parameter pList[], \
35        struct CE_Info *ce_info);
36
37
38/* TODO
39 */
40int32_t GetRequest(int32_t socketFD, struct Parameter pList[], \
41        struct CE_Info *ce_info);
42
43#endif
Note: See TracBrowser for help on using the browser.