Hi.
I'm having some difficulty here. Perhaps someone here has some ideas.
I would like to implement some kind of P2P functionality in an existing application that is designed to work within a local network.
The concept of this functionality is that the application stores the username of the current user and the ip-address of the computer he's on to a database.
On a specific form all currently logged on users that are using this application are listed from the database. And the idea is that from this form be able to send a short text message to another user.
I wanted to have a server part with a tcp-listener in a separate thread that's constantly running until application shutdown, and a client part that sends the message.
I almost had it going for a while, but the threaded server part never shut down when closing the app. :sad:
Any ideas of how to accomplish this kind of thing?
//Oxiegen