Show
Ignore:
Timestamp:
05/22/10 22:22:21 (2 years ago)
Author:
mwhitworth
Message:

Add to network stack.

Files:
1 modified

Legend:

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

    r2085 r2086  
    112112        return -1; 
    113113} 
     114 
     115int SocketSetFlags(Socket* socket, int flags) 
     116{ 
     117        socket->flags |= flags; 
     118        return 0; 
     119} 
     120 
     121int SocketFd(Socket* socket) 
     122{ 
     123        return socket->channel->fd; 
     124}