.\" @(#)isc_createtcp.3x 1.0 92/02/13 Lysator .\" ISC - networking library .\" Copyright (C) 1992, 1999 by Peter Eriksson and Per Cederqvist of the .\" Lysator Academic Computer Association. .\" .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 2 of the License, or .\" (at your option) any later version. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with this program; if not, write to the Free Software .\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. .\" .TH ISC_CREATETCP 3X "13 February 1992" "Release 1.0" "ISC LIBRARY" .SH NAME isc_createtcp \- create a TCP/IP session .SH SYNOPSIS .nf .ft B #include .ft .fi .LP .nf .ft B IscSession *isc_createtcp(cfg) IscSessionConfig *scb; .ft R .fi .SH DESCRIPTION This function force the session to go into closing state. You will receive the event .SM ISC_EVENT_CLOSED when all queued data has been read and/or sent. To force a close and flush all queued data you should use the .B isc_destroy(3x) function directly. .SH ARGUMENTS The .I scb argument must be pointer to a session control structure. .SH RETURN VALUES Does not return any value. .SH SEE ALSO .BR isc (3x)