Is this possible with Bmax?
What I'd like to do is to create a seperate process for my server that simply handles login duties. Instead of constantly polling my non-blocking listening socket to see if someone is trying to connect, I'd prefer to set it up as a blocking call in it's own process. Then, when someone connects to the server, the Accept() call will return and this login process would pass the information about the socket to the master server process.
So basically, one program sits idle 99% of the time and then notifies the other program and sends it some info that other 1% of the time (when someone connects.)
Is something like this possible? How would I go about passing the data between the two different programs without doing something like writing it to disk first?
What I'd like to do is to create a seperate process for my server that simply handles login duties. Instead of constantly polling my non-blocking listening socket to see if someone is trying to connect, I'd prefer to set it up as a blocking call in it's own process. Then, when someone connects to the server, the Accept() call will return and this login process would pass the information about the socket to the master server process.
So basically, one program sits idle 99% of the time and then notifies the other program and sends it some info that other 1% of the time (when someone connects.)
Is something like this possible? How would I go about passing the data between the two different programs without doing something like writing it to disk first?