Help on icq gateway

can any one send me here a code for how to register an icq

gateway… and how to send a message…?..

because i got confused …

what is the right xml code that i have to send to an icq server… in order to log in…

do i have to login as my exising account with mu icq number and password or somthing else…??.

thank u and to all a good night…