Unix Socket Programming Interview Questions
Questions Answers Views Company eMail

What are raw sockets?

Axis Technologies,

4 9637

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

IBM, Evolving Systems,

1 2233

What is LILO?

2 2411

How do Sockets Work?

1 181

What is with the second parameter in bind()?

1 196

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

1 207

When should I use shutdown()?

1 193

What are Sockets?

1 235

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

118

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

1 289

How do I properly close a socket?

1 236

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

1 195

Explain the TIME_WAIT state.

1 290

How can I put a timeout on connect()?

1 201

Why does the sockets buffer fill up sooner than expected?

112


Post New Unix Socket Programming Questions


Un-Answered Questions { Unix Socket Programming }

What are the pros/cons of select(), non-blocking I/O and SIGIO?

161


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

323


How can I write a multi-homed server?

356


Why do I get EPROTO from read()?

131


How can I set the timeout for the connect() system call?

85


What is the difference between read() and recv()?

274


Whats the difference between select() and poll()?

136


Why does the sockets buffer fill up sooner than expected?

112


How do I use TCP_NODELAY?

101


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

118


What is the difference between SO_REUSEADDR and SO_REUSEPORT?

139


How can I force a socket to send the data in its buffer?

143


Why does it take so long to detect that the peer died?

170


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?

111


How do I convert a string into an internet address?

97