Multiple Logins on one connection?

Hello. I’'m writing a program that will need to connect multiple clients to an ejabberd server. Is it possible to do this using only one connectiond to the server, or do they each need to have their own connection? Thanks.

Greg

Each will need to have its own connection.

Alex

Thanks for the response. One additional question though. Is it possible to log off a screenname and use that connection to log in a different one, or does that also require a new connection? Thanks for your help.