1 ioctl Operations Computer Network Programming. 2 Use of ioctl() It is the system interface to set and get attributes of devices, sockets, files, interfaces.