Changes

Jump to navigation Jump to search
50 bytes added ,  02:47, 6 November 2019
Line 693: Line 693:  
* The following is done after the loop:
 
* The following is done after the loop:
 
* u64 tmpval=1; setsockopt(sockfd, SOL_SOCKET, SO_VENDOR + 0x1, &tmpval, sizeof(tmpval)); {handle error on fail}
 
* u64 tmpval=1; setsockopt(sockfd, SOL_SOCKET, SO_VENDOR + 0x1, &tmpval, sizeof(tmpval)); {handle error on fail}
* Uses a service cmd, returning an error if this is successful. Hence, the output from this is ignored.
+
* Uses [[Network_Interface_services|nifm]] GetInternetConnectionStatus, returning an error if this is successful. Hence, the output from this is ignored.
 
* Uses fcntl with F_GETFL/F_SETFL to clear O_NONBLOCK with sockfd, handling error on fail.
 
* Uses fcntl with F_GETFL/F_SETFL to clear O_NONBLOCK with sockfd, handling error on fail.
 
* u32 tmpval2=0x4000;
 
* u32 tmpval2=0x4000;

Navigation menu