Changeset 8640

Show
Ignore:
Timestamp:
02/01/09 20:34:07 (4 years ago)
Author:
ttsou
Message:

cleanup

Location:
ossiedev/branches/ttsou/dist/components/socket_out
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ossiedev/branches/ttsou/dist/components/socket_out/socket_test.cpp

    r8639 r8640  
    44#include <iostream> 
    55 
     6// 
     7// Socket interface 
    68// 
    79// Portions from UNIX Network Programming Vol. 1, Stevens, R. 
     
    1618    sockfd = socket(AF_INET, SOCK_STREAM, 0); 
    1719 
     20#if 0 
    1821    // Disable Nagle (Gierth) 
    1922    int flag = 1; 
     
    2427                            sizeof(int)); 
    2528    if (result < 0) 
    26         std::cout << "setsockopt error!!!!!!!!!" << std::endl; 
     29        std::cerr << "setsockopt error!!!!!!!!!" << std::endl; 
     30#endif  
    2731 
    2832    bzero(&servaddr, sizeof(servaddr)); 
  • ossiedev/branches/ttsou/dist/components/socket_out/unp.h

    r8639 r8640  
    1 /* Our own header. Tabs are set for 4 spaces, not 8 */ 
    2  
    31#ifndef __unp_h 
    42#define __unp_h 
    53 
    6 //#include    "../config.h"      /* configuration options for current OS */ 
    7                            /* "../config.h" is generated by configure */ 
     4//#include    "../config.h"     /* configuration options for current OS */ 
     5                                /* "../config.h" is generated by configure */ 
    86 
    97/* If anything changes in the following list of #includes, must change