connect('dansoftaus@yahoo.com.au', 'Put the password here!')) { // we're connected // run rx_data function to 'idle' on the network // rx_state will loop until the connection is dropped $msn->rx_data(); echo '

Connection dropped

'; } else { // wrong username and password? echo '

Error Connecting to the MSN Network

'; } ?>