hi gaurav try SOCK_PACKET.it gives you sys calls to read write from the nic directly. search the net for this, or consult unix n/w programming by stevens.i think it's the 3rd edition. regards, sitaram shastri _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com