> Here's the actual code:
>
> //-----------------------------------------------------------------
> int CIrisSockets::OpenSocket ( const char *sz_ipaddr, int iPort )
> {
> char func_name[] = "CIrisSockets::OpenSocket ";
>
> // create a UDP socket.
> sockfd = socket(AF_INET, SOCK_DGRAM, 0);
You should have...
sockfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
...instead.
Jeffrey "botman" Broome
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders