tcpserversrc: close the server socket after accepting a connection
authorMichael Olbrich <m.olbrich@pengutronix.de>
Thu, 12 Jun 2014 10:36:26 +0000 (12:36 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 13 Jun 2014 10:18:10 +0000 (11:18 +0100)
commit5ebfe5b26b6e404e663945fbd61ad7ca3f1a058b
tree38886923d10c025fa094fc8bfa721125e54f7e73
parent79cf59b7dda4ef3453aa42a39b1859ea804e0cff
tcpserversrc: close the server socket after accepting a connection

g_socket_accept() is only called once for a server socket. So
keeping the socket open ist just confusing possible clients.

https://bugzilla.gnome.org/show_bug.cgi?id=731566
gst/tcp/gsttcpserversrc.c