Posts: 438
Threads: 8
Joined: Nov 2007
Reputation:
0
Incognito, does CreateTCPServer return 0, if port is already in use?
Posts: 447
Threads: 6
Joined: May 2006
Reputation:
0
hansen111: Thanks again for your compliments; that really puts everything into perspective. To clarify: by "little interest," I really meant some of the features people have brought up before that would take a long time to code but (in my opinion) would never be used by a lot of people. This includes things like, as I said earlier, advanced key detection support and distance-controlled voice chat—interesting features with different methods of implementation that I have seen in several discussions on these forums, but always met with mixed feedback.
CrαcK: No, it will only return 0 if a TCP server has already been created. However, a message will be printed in the console output if an error occurs—in this case, if the port is already in use, there will be an error binding the socket.
JoeBullet: I see. If the include is used across multiple scripts, though, Audio_IndexPlayer and Audio_Deindex player will be called several times.
Redox_8: There are no tutorials right now, but there is a lot of information in the server package you can refer to.
Posts: 231
Threads: 26
Joined: Jan 2007
Reputation:
0
Is it possible to play music from FTP server?!
Posts: 493
Threads: 39
Joined: Apr 2009
Reputation:
0
Upload the sound to the FTP site then use this:
Audio_PlayStreamed(clientid, url[], pause, loop, enable3D);
Posts: 447
Threads: 6
Joined: May 2006
Reputation:
0
No, it needs to be publicly accessible.
Posts: 61
Threads: 3
Joined: Jul 2009
Reputation:
0
woooow awesome :O nice job man
Posts: 17
Threads: 1
Joined: Jun 2008
Reputation:
0
i need libcurl.so.4 for this pls
Posts: 447
Threads: 6
Joined: May 2006
Reputation:
0
libcurl is required only for the client, which is designed to run only on Windows.
Posts: 113
Threads: 1
Joined: Jun 2008
Reputation:
0
Linux isn't same as Windows so it is double job...(sockets etc.)
Posts: 447
Threads: 6
Joined: May 2006
Reputation:
0
I am not able to reproduce any further crashes on Debian 4/5. The connection throttling is in place server-side to ensure that clients do not reconnect too fast.
Posts: 459
Threads: 14
Joined: Jul 2008
Reputation:
0
[16:35:52] *** Audio Plugin: Started TCP server on port 6666
[16:35:52] *** Audio Plugin: Error binding socket: Address already in use
I am getting this error if I stop the sever and restart it to quickly, ie. game mode restart.
It take 2 game mode restarts for the port binding to work or manually shut down the server for 30 seconds and restart it.
I am using _v34.
I am using Ubuntu, any ideas pf what can be causing my issue?
Thanks,