linked linked linkedin whatsapp remove
Feedback

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

Answer:
may use either thread-id or port number

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