On Thu, Jan 17, 2008 at 04:44:43PM -0500, Jean-Claude Gervais wrote:
> Usually, I would call 'closesocket' (on Windows) or 'close' on *nix but
> the sys/socket.h file doesn't define a close function, so which close do
> I call?

you can call close included unistd.h on the fd(socket)

or shutdown from sys/socket.h

-M
-- 
Give a man a fire and he'll be warm for a day. But light a man on fire and 
he'll be warm for the rest of his life.
-- 
[email protected] mailing list

Reply via email to