I have created client and server application that uses
sockets for communication. But only single client can connect to server.
I have to connect multiple clients to same server.
Can anybody help me?
Thanks in Advance
In server I have derived class from CAsyncSocket and had overrided OnAccept function
I am creating new thread from OnAccept function and wrote send,recieve functionalities inside the thread procedure.I have not added wait in server because OnAccept will be invoked when client tries to connect.
Can u please mention what is the problem??
Hi, i have a small problem i have a csharp dll built in VS2005.I have to access the functions from this dll in my VC++ project done in VC 6.0.My VC project is not able to identify my C# namespace and class.I dont get what the problem is. Please do have a look at my c# code and VC Project code and do let me know if im making some mistake.I have also pasted the errors that i am getting. please do help me...i'm not able to understand the problem.
public class Class1
public void PrintMessage ()
Neither here nor the other time you asked this question have you given any objective evidence of why you believe there to be leaks in CString. As I stated before, look at your own code - the likelihood of your code being incorrect is much, much higher than the likelihood of the code in MFC being incorrect, especially when it's a version of MFC that's had 11-12 years of exposure.
I am new to VC++(MFC).. i'm in need to do a project in VC++ 2005 in MFC(MDI).... Our project is a stand alone project with runtime updation of databases also..,Can anyone help me in how to create forms with controls and calling one anotherforms..? I searched in Google .,no use.,help me please..........
The API to do this is CreateWindow.
The first parameter is a class name.
The class name can be a user defined class name or predefined class names.
Predefined class names like EDIT, COMBOBOX, STATIC, BUTTON etc. exist to create the standard controls.
Please refer to the documentation of CreateWindow for more details.