GSocketOutputStream

GSocketOutputStream

Synopsis




                    GSocketOutputStream;
GOutputStream*      g_socket_output_stream_new          (int fd,
                                                         gboolean close_fd_at_close);


Object Hierarchy


  GObject
   +----GOutputStream
         +----GSocketOutputStream

Description

Details

GSocketOutputStream

typedef struct _GSocketOutputStream GSocketOutputStream;


g_socket_output_stream_new ()

GOutputStream*      g_socket_output_stream_new          (int fd,
                                                         gboolean close_fd_at_close);

fd :

file descriptor.

close_fd_at_close :

boolean value.

Returns :

GOutputStream. If close_fd_at_close is TRUE, then fd will be closed when the GOutputStream is closed.