Show
Ignore:
Timestamp:
03/22/09 15:00:48 (15 years ago)
Author:
bhilburn
Message:

Added a new CreateClientSocket? function, using the new RemoteComponent? struct
type, to replace the old ClientSocket? function. Note that the old function is
left in until the new stuff gets tested and reviewed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/src/include/vtcross/socketcomm.h

    r180 r184  
    1313#include <stdint.h> 
    1414 
     15#include "vtcross/containers.h" 
     16 
    1517 
    1618/* TODO 
    1719 */ 
    1820void ReadMessage(int32_t socketFD, char* msgBuffer); 
    19  
    20  
    21 /* TODO 
    22  */ 
    23 int32_t ClientSocket(const char* serverName, const char* portNumber); 
    2421 
    2522 
     
    4340 
    4441/* TODO 
     42 * This is meant as the future replacement for the function below it.  It is 
     43 * still a work in progress, and needs a code-review before we move to it 
     44 * entirely. 
     45 */ 
     46void CreateClientSocket(struct RemoteComponent* serverInfo); 
     47 
     48 
     49/* This is the original function that does what the above function is supposed 
     50 * to do. 
     51 */ 
     52int32_t ClientSocket(const char* serverName, const char* portNumber); 
     53 
     54 
     55/* TODO 
    4556 */ 
    4657int32_t  AcceptTCPConnection(int32_t servSock);