in reply to Re^4: Socket deadlock doubt in code
in thread Socket deadlock doubt in code

Hi

I am using gethostbyaddr here at server's code to get the client's hostname. You can check the code in the first thread for the procedure.

I am doing this to find out which client has connected to the server.

I am tracking the issue for the DNS right now, since the current setup is between two VM machines.

Replies are listed 'Best First'.
Re^6: Socket deadlock doubt in code
by rowdog (Curate) on Jun 24, 2010 at 17:41 UTC

    Sorry, my mistake. I would think the problem is your DNS set up since your gethostbyaddr code works fine here.