I use Connect(IP,Port) function to connect with server from client. if server port is in Listen mode, Client Connects with server within 1 sec.
Suppose if server not in Listen mode, but client try to connect with server. In Client, Control is waiting 10 to 15 sec on Connect("192.168.3.123",8686) function.
Why Connect function takes that much time when server not in listen mode...any one know the reason. At the period of Connection I can't do any operation.(Eg: I can't do Posting msg to main frame , i can't operate menus, like a way work affects). how we avoid this.....i hope u will help.
... At the period of Connection I can't do any operation.(Eg: I can't do Posting msg to main frame , i can't operate menus, like a way work affects). how we avoid this.....i hope u will help.
Get rid of CSocket class and use CAsyncSocket instead!
Bookmarks