int status = getsockopt(sfd, SOL_SOCKET,SO_E RROR,&soe,&sol) ;
In the above example, if getsockopt returns -1, that is an error has occured, would soe be set?
In the above example, if getsockopt returns -1, that is an error has occured, would soe be set?
Comment