GSocketInputStream

GSocketInputStream

Synopsis




                    GSocketInputStream;
GInputStream*       g_socket_input_stream_new           (int fd,
                                                         gboolean close_fd_at_close);


Object Hierarchy


  GObject
   +----GInputStream
         +----GSocketInputStream

Description

Details

GSocketInputStream

typedef struct _GSocketInputStream GSocketInputStream;


g_socket_input_stream_new ()

GInputStream*       g_socket_input_stream_new           (int fd,
                                                         gboolean close_fd_at_close);

fd :

file descriptor.

close_fd_at_close :

boolean value

Returns :

new GInputStream. If close_fd_at_close is TRUE, fd will be closed when the GInputStream is closed.