Guest User

Untitled

a guest
Jul 22nd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. errno = 0;
  2. if (bind(socket, (struct sockaddr *)&socketIn, sizeof(struct sockaddr_in)) == -1) {
  3. if (errno) {
  4. close(socket);
  5. return NO;
  6. }
  7. }
Add Comment
Please, Sign In to add comment