Podcast
Questions and Answers
What are the three parameters used to identify an option?
What are the three parameters used to identify an option?
- Protocol level, Option type, Option value
- Option level, Option name, Option value (correct)
- Protocol type, Option name, Option value
- Option type, Option name, Option size
How do you get the current value of an option?
How do you get the current value of an option?
- socket.retrieveopt(opt_level,opt_name)
- socket.getsockopt(opt_level,opt_name) (correct)
- socket.findopt(opt_level,opt_name)
- socket.getopt(opt_level,opt_name)
What method is used to set an option to a specific value?
What method is used to set an option to a specific value?
- socket.setsockopt(opt_level,opt_name,opt_value) (correct)
- socket.modifyopt(opt_level,opt_name,opt_value)
- socket.changeopt(opt_level,opt_name,opt_value)
- socket.updateopt(opt_level,opt_name,opt_value)
What type of parameters are normally used for option value?
What type of parameters are normally used for option value?
Why is it difficult to remember all socket options?
Why is it difficult to remember all socket options?