SCOKET descriptor and IP addresss

hii all
i am developing an application over w3c on linux platform, i have two 
problems
1 how to get IP address of any host , store it in the file.
2.how to get socket descriptor for host.
plz reply soon
regards
rahul

Received on Friday, 23 September 2005 16:00:12 UTC