Ok, here is my situation:

Application is a flash game which can connect to a number of game servers. Sometimes I am on the server that I need to connect to so I don't need to close my connection and open another one, I can just start sending calls.

The problem is with the socket numbers (socket0, socket1). The first one will be socket0, and at times I am sending a few calls through that one, then connect to another server (close socket0 and open socket1), and at times I keep socket0 open and continue. I know which server I am using, I know when it will change server (at runtime, had to program this).

My problem is that the documentation says that you cannot parameterize the s_desc section (the socket number). And I have tried, and you can't.

Any ideas how to handle this situation?


Matthew Adams