fis-gtm/sr_port/iosocket_read.c

26 lines
742 B
C
Raw Normal View History

/****************************************************************
* *
* Copyright 2001, 2006 Fidelity Information Services, Inc *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* the license, please stop and do not read further. *
* *
****************************************************************/
/* iosocket_read.c */
#include "mdef.h"
#include "gtm_socket.h"
#include "gtm_inet.h"
#include "io.h"
#include "gt_timer.h"
#include "iotcpdef.h"
#include "iosocketdef.h"
int iosocket_read(mval *v, int4 timeout)
{
return iosocket_readfl(v, 0, timeout); /* 0 means not fixed length */
}