Changeset 530:8578b85b0077 in roaraudio


Ignore:
Timestamp:
08/16/08 03:00:50 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added pure IPX basic support

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/socket.h

    r528 r530  
    2424#define ROAR_SOCKET_TYPE_INET6   ROAR_SOCKET_TYPE_TCP6 
    2525#define ROAR_SOCKET_TYPE_IPXSPX  10 
     26#define ROAR_SOCKET_TYPE_IPX     11 
    2627 
    27 #define ROAR_SOCKET_TYPE_MAX  10 
     28#define ROAR_SOCKET_TYPE_MAX  11 
    2829 
    2930#define ROAR_SOCKET_QUEUE_LEN 8 
     
    4546int roar_socket_new_decnet_stream (void); 
    4647int roar_socket_new_ipxspx (void); 
     48int roar_socket_new_ipx    (void); 
    4749 
    4850int roar_socket_open       (int mode, int type, char * host, int port); 
  • libroar/socket.c

    r528 r530  
    101101 return -1; 
    102102} 
     103 
     104int roar_socket_new_ipx    (void) { 
     105#ifdef ROAR_HAVE_IPX 
     106 return socket(AF_IPX, SOCK_DGRAM, AF_IPX); 
     107#else 
     108 return -1; 
     109#endif 
     110} 
     111 
    103112 
    104113int roar_socket_nonblock(int fh, int state) { 
  • roarclients/roarsocktypes.c

    r527 r530  
    1616  {"DECnet seqpacket", roar_socket_new_decnet_seqpacket}, 
    1717  {"DECnet stream"   , roar_socket_new_decnet_stream}, 
     18  {"IPX"             , roar_socket_new_ipx}, 
    1819  {"IPX/SPX"         , roar_socket_new_ipxspx}, 
    1920  {NULL, NULL} 
Note: See TracChangeset for help on using the changeset viewer.