version 1.19, 2008/05/18 12:55:14
|
version 1.20, 2008/06/17 18:46:04
|
Line 17
|
Line 17
|
\ You should have received a copy of the GNU General Public License |
\ You should have received a copy of the GNU General Public License |
\ along with this program. If not, see http://www.gnu.org/licenses/. |
\ along with this program. If not, see http://www.gnu.org/licenses/. |
|
|
|
c-library socket |
\c #include <netdb.h> |
\c #include <netdb.h> |
c-function gethostbyname gethostbyname a -- a ( name -- hostent ) |
c-function gethostbyname gethostbyname a -- a ( name -- hostent ) |
\c #include <unistd.h> |
\c #include <unistd.h> |
Line 42 c-function htonl htonl n -- n ( x -- x'
|
Line 43 c-function htonl htonl n -- n ( x -- x'
|
c-function htons htons n -- n ( x -- x' ) |
c-function htons htons n -- n ( x -- x' ) |
c-function ntohl ntohl n -- n ( x -- x' ) |
c-function ntohl ntohl n -- n ( x -- x' ) |
c-function fileno fileno a -- n ( file* -- fd ) |
c-function fileno fileno a -- n ( file* -- fd ) |
|
end-c-library |
|
|
4 4 2Constant int% |
4 4 2Constant int% |
2 2 2Constant short% |
2 2 2Constant short% |