socket_fd 503 src/dps8/dps8_socket_dev.c int socket_fd = (int) buffer[0]; socket_fd 518 src/dps8/dps8_socket_dev.c sim_printf ("bind() socket %d\n", socket_fd); socket_fd 529 src/dps8/dps8_socket_dev.c if (sk_data.fd_unit[socket_fd] != (int) unit_idx || sk_data.fd_dev_code[socket_fd] != dev_code) socket_fd 542 src/dps8/dps8_socket_dev.c int rc = bind (socket_fd, (struct sockaddr *) & serv_addr, sizeof (serv_addr)); socket_fd 569 src/dps8/dps8_socket_dev.c int socket_fd = (int) buffer[0]; socket_fd 571 src/dps8/dps8_socket_dev.c sim_printf ("listen() socket %d\n", socket_fd); socket_fd 577 src/dps8/dps8_socket_dev.c if (sk_data.fd_unit[socket_fd] != (int) unit_idx || sk_data.fd_dev_code[socket_fd] != dev_code) socket_fd 580 src/dps8/dps8_socket_dev.c sim_printf ("socket_fd %u fd_unit %d fd_dev_code %u unit_idx %u dev_code %u\n", socket_fd, sk_data.fd_unit[socket_fd], sk_data.fd_dev_code[socket_fd], unit_idx, dev_code); socket_fd 586 src/dps8/dps8_socket_dev.c rc = setsockopt (socket_fd, SOL_SOCKET, SO_REUSEADDR, socket_fd 596 src/dps8/dps8_socket_dev.c rc = ioctl (socket_fd, FIONBIO, (char *) & on); socket_fd 605 src/dps8/dps8_socket_dev.c rc = listen (socket_fd, backlog); socket_fd 632 src/dps8/dps8_socket_dev.c int socket_fd = (int) buffer[0]; socket_fd 633 src/dps8/dps8_socket_dev.c sim_printf ("accept() socket %d\n", socket_fd); socket_fd 635 src/dps8/dps8_socket_dev.c if (sk_data.fd_unit[socket_fd] != (int) unit_idx || sk_data.fd_dev_code[socket_fd] != dev_code) socket_fd 641 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].accept_fd = socket_fd; socket_fd 660 src/dps8/dps8_socket_dev.c int socket_fd = (int) buffer[0]; socket_fd 661 src/dps8/dps8_socket_dev.c sim_printf ("close() socket %d\n", socket_fd); socket_fd 666 src/dps8/dps8_socket_dev.c if (sk_data.fd_unit[socket_fd] != (int) unit_idx || sk_data.fd_dev_code[socket_fd] != dev_code) socket_fd 672 src/dps8/dps8_socket_dev.c sk_data.fd_unit[socket_fd] = -1; socket_fd 675 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].accept_fd == socket_fd) socket_fd 680 src/dps8/dps8_socket_dev.c rc = close (socket_fd); socket_fd 711 src/dps8/dps8_socket_dev.c int socket_fd = (int) buffer[0]; socket_fd 713 src/dps8/dps8_socket_dev.c sim_printf ("read8() socket %d\n", socket_fd); socket_fd 716 src/dps8/dps8_socket_dev.c if (sk_data.fd_unit[socket_fd] != (int) unit_idx || sk_data.fd_dev_code[socket_fd] != dev_code) socket_fd 722 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].read_fd = socket_fd; socket_fd 753 src/dps8/dps8_socket_dev.c int socket_fd = (int) buffer[0]; socket_fd 754 src/dps8/dps8_socket_dev.c sim_printf ("write8() socket %d\n", socket_fd); socket_fd 759 src/dps8/dps8_socket_dev.c if (sk_data.fd_unit[socket_fd] != (int) unit_idx || sk_data.fd_dev_code[socket_fd] != dev_code) socket_fd 792 src/dps8/dps8_socket_dev.c rc = write (socket_fd, netdata, count);