Hi, It looks like raw sockets are
not supported in the DaemonNew call in daemon.c (ie. the SOCK_RAW type).
Is there a reason for this? The code in question: ----- HANDLE DaemonNew( uint Type, IPN LocalAddress, uint LocalPort, int (*pCb)(SOCKET,UINT32), -------- Sockets of type SOCK_RAW will cause DaemonNew to return without spinning the thread. Is there a design reason for this? My application likely requires raw socket communication to achieve the necessary level of efficiency. Thanks, Peter
uint Priority, uint StackSize, UINT32 Argument, uint MaxSpawn )
{
int i;
DREC *pdr = 0;
// Sanity check the arguments
if( Type==SOCK_DGRAM )
MaxSpawn=1;
else if( Type!=SOCK_STREAM && Type!=SOCK_STREAMNC )
return(0);