
February 12th, 2002, 10:53 AM
|
 |
*bounce*
|
|
Join Date: Jan 2002
Location: Delft, The Netherlands
Posts: 509
  
Time spent in forums: 2 Days 20 h 3 m 49 sec
Reputation Power: 9
|
|
|
Unix socket programming
In an application that I'm working on, I'm using unix sockets to communicate between the client and the server.
The thing is, if connect() fails, do I need to call close() to release the socket descriptor? I guess the real question is, is close() the counterpart of socket() or the counterpart of connect()?
__________________
"A poor programmer is he who blames his tools."
http://analyser.oli.tudelft.nl/
|