00001 /* File: socket.H 00002 ** Author(s): The XSB Group 00003 ** Contact: xsb-contact@cs.sunysb.edu 00004 ** 00005 ** Copyright (C) The Research Foundation of SUNY, 1986, 1993-1998 00006 ** 00007 ** XSB is free software; you can redistribute it and/or modify it under the 00008 ** terms of the GNU Library General Public License as published by the Free 00009 ** Software Foundation; either version 2 of the License, or (at your option) 00010 ** any later version. 00011 ** 00012 ** XSB is distributed in the hope that it will be useful, but WITHOUT ANY 00013 ** WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00014 ** FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for 00015 ** more details. 00016 ** 00017 ** You should have received a copy of the GNU Library General Public License 00018 ** along with XSB; if not, write to the Free Software Foundation, 00019 ** Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00020 ** 00021 ** $Id: socket.H,v 1.7 2005/01/14 18:31:57 ruim Exp $ 00022 ** 00023 */ 00024 00025 %% Calls that don't return the error code 00026 :- export socket/1, socket_bind/2, socket_listen/2, socket_accept/2, 00027 socket_connect/3, socket_flush/1, socket_close/1, socket_recv/2, 00028 socket_send/2, socket_put/2, socket_set_option/3. 00029 00030 %% Calls that do return the error code 00031 :- export socket/2, socket_bind/3, socket_listen/3, socket_accept/3, 00032 socket_connect/4, socket_close/2, socket_recv/3, 00033 socket_send/3, socket_get0/3, socket_put/3. 00034 00035 :- export socket_set_select/4, socket_select/6, socket_select_destroy/1. 00036 00037 :- import socket_request/7, file_function/7 from machine. 00038 00039 :- import obsolete/2 from obsolete.