• IGModAudioChannel connection issues.
    2 replies, posted
Hello, Apparently there is an issue with the IGModAudioChannel's Stop function which does stop the sound from playing but does not close the tcp connection. The code I used to test this and can be used in any lua file on the client side: [CODE] timer.Simple(5, function() for i = 1, 100 do timer.Simple(0.1*i, function() sound.PlayURL( any_station, "3d", function( channel) timer.Simple(0.1, function() channel:Stop() end) end ); end) end end) [/CODE] Image of some of the connections it created (only the tcp and port 80 ones): [IMG]http://puu.sh/3EKu1/cb650c39c9.png[/IMG] If there are too many connections (probably more than 65k), new connections cannot be created anymore (even simple browser connections) because it's blocking all the ports. The connections are only closed when I disconnect from the server, which takes a long time dependant on the amount of open connections. I already had a thread about this but I thought I was wrong, now after more testing I think it really might be a garrysmod issue. I just want to see if this is issue exists for everyone or just me. Thanks syl0r
Hey what are you using to see all the open connections?
The firewall built into my avast anti virus system
Sorry, you need to Log In to post a reply to this thread.