Commit 8d46123c authored by dionoea's avatar dionoea

Fix #1048... kind of. Should the rc interface be able to accept more than 1...

Fix #1048... kind of. Should the rc interface be able to accept more than 1 connection ? and accept tcp connections + stdin commands ? (currently only 1 connection can be active)
parent a6703345
......@@ -502,6 +502,11 @@ static void Run( intf_thread_t *p_intf )
{
p_intf->p_sys->i_socket =
net_Accept( p_intf, p_intf->p_sys->pi_socket_listen, 0 );
if( p_intf->p_sys->i_socket == -1 )
{
msleep( INTF_IDLE_SLEEP );
continue;
}
}
b_complete = ReadCommand( p_intf, p_buffer, &i_size );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment