appletalk.c 212 B

123456789101112
  1. #include <stdio.h>
  2. #include <sys/socket.h>
  3. int main() {
  4. if (socket(AF_APPLETALK, SOCK_DGRAM, 0) != -1) {
  5. fprintf(stderr, "Opening Appletalk socket worked, should be blocked\n");
  6. return 1;
  7. }
  8. return 0;
  9. }