MCPcopy Create free account
hub / github.com/LMS57/TempleOfPwn / sockaddr

Class sockaddr

shellcode/shellcode.c:139–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 // To handle errors, you can add an if condition that checks whether fd is greater than 0. If it isn't, prompt an error
138 while(1){
139 int t = bind(fd, (struct sockaddr *)&serv, sizeof(serv)); //assigns the address specified by serv to the socket
140 if(t == 0){
141 break;
142 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected