*/
// net_wipx.h
+#ifndef NET_WIPX_H
+#define NET_WIPX_H
+
int WIPX_Init (void);
void WIPX_Shutdown (void);
void WIPX_Listen (qboolean state);
int WIPX_CloseSocket (int socket);
int WIPX_Connect (int socket, struct qsockaddr *addr);
int WIPX_CheckNewConnections (void);
-int WIPX_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
-int WIPX_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
-int WIPX_Broadcast (int socket, byte *buf, int len);
+int WIPX_Read (int socket, qbyte *buf, int len, struct qsockaddr *addr);
+int WIPX_Write (int socket, qbyte *buf, int len, struct qsockaddr *addr);
+int WIPX_Broadcast (int socket, qbyte *buf, int len);
char *WIPX_AddrToString (struct qsockaddr *addr);
int WIPX_StringToAddr (char *string, struct qsockaddr *addr);
int WIPX_GetSocketAddr (int socket, struct qsockaddr *addr);
int WIPX_AddrCompare (struct qsockaddr *addr1, struct qsockaddr *addr2);
int WIPX_GetSocketPort (struct qsockaddr *addr);
int WIPX_SetSocketPort (struct qsockaddr *addr, int port);
+
+#endif
+