[prog] a simple chat program using cnaiapi

Aslı gosalyn at gmail.com
Sat Oct 15 17:56:47 EST 2005


"I don't know cnaiapi at all, but if you're running your server and your
clients on the same machine, and each one is using the same port things
might get messy. Or maybe your connection object can handle multiple
requests and I'm missing the point..."

I have another chat program that uses cnaiapi, and in that one, there
is just one client . The server and the client talks to each other..I
executed that program the same way, too. I opened one terminal to
execute the server code, and another terminal on my machine to execute
the client code. And things worked quite well..
So, I'm not sure whether the problem is running my server and the
client on the same machine, and through the same ports or not...

Thanks anyway..

Aslı


More information about the Programming mailing list