[gst-devel] Class stuff for networking.

Savage, ShaunX V shaunx.v.savage at intel.com
Wed Dec 7 14:55:04 CET 2005

I have created a socket to listen on,  received a connection,  now I
have fd. 


How do I "add" a fd to tcpserversink?

The way I am doing it segfaults.


sink is type GstTCPServerSink*


        fd = accept(sd, &addr, &rslt);

        if (fd < 0)

                return fd;

        close(sd);  //for now



//      gst_multi_fd_sink_add((GstMultiFdSink*)sink,fd);


//      sink->element.add(sink,fd);




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20051207/e0b945a8/attachment.htm>

More information about the gstreamer-devel mailing list