- Status = gBS->LocateProtocol ( &gEfiSocketServiceBindingProtocolGuid,\r
- NULL,\r
- (VOID **) &pServiceBinding );\r
- if ( !EFI_ERROR ( Status )) {\r
- //\r
- // Release the handle\r
- //\r
- Status = pServiceBinding->DestroyChild ( pServiceBinding,\r
- pSocketProtocol->SocketHandle );\r
- }\r
- if ( EFI_ERROR ( Status )) {\r
- *pErrno = EIO;\r
- }\r