[gst-devel] gst-rtsp-server needs SO_LINGER option set to reset the TCP immediately

Robert Krakora rob.krakora at messagenetsystems.com
Fri Jun 18 15:12:16 CEST 2010


Hello,

I think gst-rtsp-server needs the SO_LINGER option to be set to reset
the TCP connection immediately.

  linger.l_onoff = 1;
  linger.l_linger = 0;

  if (setsockopt (server->server_sock.fd, SOL_SOCKET, SO_LINGER,
          (void *) &linger, sizeof (linger)) < 0)
    goto linger_failed;

Best Regards,

-- 
Rob Krakora
Senior Software Engineer
MessageNet Systems
101 East Carmel Dr. Suite 105
Carmel, IN 46032
(317)566-1677 Ext. 206
(317)663-0808 Fax




More information about the gstreamer-devel mailing list