Show
Ignore:
Timestamp:
05/20/10 16:05:25 (2 years ago)
Author:
mwhitworth
Message:

Add to TCP/IP stack.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/netchannel/user/posix/socket/socket.c

    r2084 r2085  
    1111#include "../file/internal.h" 
    1212 
     13static int PosixSocketClose(struct PosixFile* file) 
     14{ 
     15        Socket* socket = (Socket*)PosixFilePriv(file); 
     16 
     17        return SocketClose(socket); 
     18} 
     19 
    1320/* POSIX file operations */ 
    1421struct PosixFileType socketType = 
    1522{ 
     23        .close = PosixSocketClose, 
    1624}; 
    1725