1 |
On Thu, Jan 17, 2008 at 04:44:43PM -0500, Jean-Claude Gervais wrote: |
2 |
> Usually, I would call 'closesocket' (on Windows) or 'close' on *nix but |
3 |
> the sys/socket.h file doesn't define a close function, so which close do |
4 |
> I call? |
5 |
|
6 |
you can call close included unistd.h on the fd(socket) |
7 |
|
8 |
or shutdown from sys/socket.h |
9 |
|
10 |
-M |
11 |
-- |
12 |
Give a man a fire and he'll be warm for a day. But light a man on fire and |
13 |
he'll be warm for the rest of his life. |
14 |
-- |
15 |
gentoo-embedded@l.g.o mailing list |