linked linked linkedin whatsapp remove

System Programming Quiz System Programming

You are coding a multi-threaded server in which n detached threads will listen on n ports with a permanent one-to-one association between threads and ports during the lifetime of the process. You want to uniquely identify each thread-port pair. To do so you:

may use either thread-id or port number
must use both thread-id and port number
can use thread-id but not port number
can use port number but not thread-id

may use either thread-id or port number

Note: This Question is unanswered, help us to find answer for this one