Changeset 518 for vtcross/trunk/src/include/vtcross/socketcomm.h
- Timestamp:
- 11/13/09 15:37:02 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
vtcross/trunk/src/include/vtcross/socketcomm.h
r411 r518 15 15 */ 16 16 17 /* TODO DESCRIPTION OF FILE. 17 /*! This file describes the interface to libsocketcomm, which is the internal 18 * socket communication library that CROSS radios use to communicate between 19 * components. 18 20 */ 19 21 … … 26 28 27 29 28 /* TODO30 /*! TODO 29 31 */ 30 32 int32_t ReadMessage(int32_t socketFD, char *msgBuffer); 31 33 32 /* TODO34 /*! TODO 33 35 */ 34 36 int32_t SendMessage(int32_t socketFD, const char *message) ; 35 37 36 /* TODO38 /*! TODO 37 39 */ 38 40 int32_t GetParameter(int32_t socketFD, struct Parameter pList[], \ 39 41 struct Radio_Info *radio_info); 40 42 41 /* TODO43 /*! TODO 42 44 */ 43 45 int32_t GetRequest(int32_t socketFD, struct Parameter pList[], \ 44 46 struct Radio_Info *radio_info); 45 47 46 /* This is the original function that does what the above function is supposed48 /*! This is the original function that does what the above function is supposed 47 49 * to do. 48 50 */ 49 51 int32_t ClientSocket(const char *serverName, const char *portNumber); 50 52 51 /* TODO53 /*! TODO 52 54 */ 53 55 int32_t AcceptTCPConnection(int32_t servSock); 54 56 55 /* TODO57 /*! TODO 56 58 */ 57 59 int32_t CreateTCPServerSocket(uint16_t port); 58 60 59 /* TODO61 /*! TODO 60 62 */ 61 63 int32_t InitializeTCPServerPort(int32_t servSock);