3 * - Acess kernel emulation on another OS using SDL and UDP
12 typedef struct sNetSocket tNetSocket;
20 tNetSocket *gNet_Wrap_FirstSocket;
21 tNetSocket *gNet_Wrap_LastSocket;
24 void *Net_Wrap_ConnectTcp(void *Node, short SrcPort, short DstPtr, int Type, const void *Addr)
29 size_t Net_Wrap_ReadSocket(void *Handle, size_t Bytes, void *Dest)
31 tNetSocket *hdl = Handle;
33 return read(hdl->FD, Dest, Bytes);
36 size_t Net_Wrap_WriteSocket(void *Handle, size_t Bytes, const void *Dest)
38 tNetSocket *hdl = Handle;
40 return write(hdl->FD, Dest, Bytes);
43 void Net_Wrap_CloseSocket(void *Handle)