A
Anders Both
Does anyone know of a good asynchronous socket exsample. There are some
exsamples in the documentation and around on the net. But they are all in
the same way: The server reseived a connection from the client, read
something and send something back.
A need an exsamlple were a client connect´s to a server, and then the
connection is kept up. The client can then send data to the server when ever
it whant to. But the Server can also send data to the client when ever it
want to.
The Connection can then be disconnected by the Client.
I hope someone can understand me, and se how this exsample differs from the
examples out there.
If someone can desripe how to make such a solution they are also welcome.
Dont you need to make a Thread on the server representing each client ?
Best Regards
Anders Both , Denmark.
exsamples in the documentation and around on the net. But they are all in
the same way: The server reseived a connection from the client, read
something and send something back.
A need an exsamlple were a client connect´s to a server, and then the
connection is kept up. The client can then send data to the server when ever
it whant to. But the Server can also send data to the client when ever it
want to.
The Connection can then be disconnected by the Client.
I hope someone can understand me, and se how this exsample differs from the
examples out there.
If someone can desripe how to make such a solution they are also welcome.
Dont you need to make a Thread on the server representing each client ?
Best Regards
Anders Both , Denmark.