readint_socket(3)

NAME
readint_socket - read integers from socket

SYNOPSIS
#include "types.h"
#include "channel.h"
Bool readint_socket(Socket *socket,int *data,int n);

DESCRIPTION
Function reads integer data from open socket. The arguments of readint_socket are:

socket
    Pointer to socket. Socket must be opened by open_socket() or connect_socket().

data
    Integer data to read from socket.

n   Number of integer values to read.

RETURN VALUE
Upon successful completion FALSE is returned and TRUE on failure.

AUTHOR
Werner von Bloh (bloh@pik-potsdam.de)

SEE ALSO
close_socket(3), open_socket(3), connect_socket(3), writeint_socket(3)