Unix Socket Programming Interview Questions
Questions Answers Views Company eMail

What are raw sockets?

Axis Technologies,

4 13196

What is Mac, and how is it different from PC? Which one is better for professional users, and why

Evolving Systems, IBM,

1 4289

What is LILO?

2 4343

How do Sockets Work?

1 1814

What is with the second parameter in bind()?

1 1854

If bind() fails, what should I do with the socket descriptor?

1 2293

When should I use shutdown()?

Wipro,

1 1801

What are Sockets?

1 1694

How can I tell when a socket is closed on the other end?

966

How do I get the port number for a given service?

1 1879

How do I properly close a socket?

1 1941

What is the difference between close() and shutdown()?

1 1990

Explain the TIME_WAIT state.

1 1782

How can I put a timeout on connect()?

1 1719

Why does the sockets buffer fill up sooner than expected?

989


Post New Unix Socket Programming Questions

Un-Answered Questions { Unix Socket Programming }

How does a socket work?

489


system choose one for me on the connect() call? Should I bind() a port number in my client program, or let the?

1158


Is there any advantage to handling the signal, rather than just ignoring it and checking for the EPIPE error? Are there any useful parameters passed to the signal catching function?

1036


How many sockets can a port have?

477


Can a socket have multiple ports?

500






How many sockets can a cpu have?

492


Can a single socket port be used for multiple applications?

452


Is tcp or unix socket faster?

492


What is socket address?

562


How can I write a multi-homed server?

1271


What is a socket address?

516


Are sockets files?

497


Are unix sockets faster than tcp?

492


What exactly is a socket?

522


How to find other end of unix socket connection?

508