From: | Jean-Claude Gervais <jc.gervais@×××××××××.ca> |
---|---|
To: | Gentoo-Embedded <gentoo-embedded@l.g.o> |
Subject: | [gentoo-embedded] sys/socket.h - no close() ? |
Date: | Thu, 17 Jan 2008 21:48:11 |
Message-Id: | 1200606283.23581.16.camel@localhost |
1 | Hello, |
2 | |
3 | I've programmed client-server type applications using sockets before, |
4 | but on Windows. |
5 | |
6 | I understand that to allocate a socket, I must call 'socket' |
7 | |
8 | What I do not understand is how to discard the socket: is there a |
9 | diffierent way on *nix (or embedded)? |
10 | |
11 | Usually, I would call 'closesocket' (on Windows) or 'close' on *nix but |
12 | the sys/socket.h file doesn't define a close function, so which close do |
13 | I call? |
14 | |
15 | J |
16 | |
17 | -- |
18 | gentoo-embedded@l.g.o mailing list |
Subject | Author |
---|---|
Re: [gentoo-embedded] sys/socket.h - no close() ? | Mathieu Dube <mujo@×××××.org> |