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.
In reply to Re^5: Socket deadlock doubt in code
by sajanagr
in thread Socket deadlock doubt in code
by sajanagr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |