//=============================================================================
+int WIPX_Recv (qbyte *buf, int len, struct qsockaddr *addr)
+{
+ return WIPX_Read (net_acceptsocket, buf, len, addr);
+}
+
+//=============================================================================
+
+int WIPX_Send (qbyte *buf, int len, struct qsockaddr *addr)
+{
+ return WIPX_Write (net_acceptsocket, buf, len, addr);
+}
+
+//=============================================================================
+
static qbyte packetBuffer[NET_DATAGRAMSIZE + 4];
int WIPX_Read (int handle, qbyte *buf, int len, struct qsockaddr *addr)
//=============================================================================
-int WIPX_AddrCompare (struct qsockaddr *addr1, struct qsockaddr *addr2)
+int WIPX_AddrCompare (const struct qsockaddr *addr1, const struct qsockaddr *addr2)
{
if (addr1->sa_family != addr2->sa_family)
return -1;