Hi! I am writting a programm and I want to "speak" with a server. I used CSocket,CSocketFile in order to create two CArchives one for reading and one for writing.
I use the code below :
m_arOut->WriteString(szMessage);
m_arOut->Flush();
while (!m_arIn->IsBufferEmpty())
{...
Hi! I want to have a client which connects with a server written in Java. In details :
I want to send a string like : <request>command</request> and I want to receive the response which is of the type : <response>answer</response>
I know that the Java server uses the function readline to read...
I really need help here :
I have a CObject devired class named : COrderInfo
and i want to have a type safe list
that's why i try to make a list like that :
typedef CTypedPtrList<CObList, COrderInfo*> COrderList;
but it keeps outputing error in compiler. :(
NEXT I tried to define a variable...
I have an SDI app (derived from CFromView an I want to exit using a button.
I can do that from the menu (ID_APP_EXIT) or the status bar. I tried :
void CMyView::OnExit()
{
CFormView::OnClose();
}
but i didn't work
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.