myApp is correctly sending commands to myNSISServer thru your socket 🙂
I wanted to see if it were possible to have myNSISServer send info back to myAPP... like a php script would do.
In PHP, you can use something like:
if(messageSent2Me){
echo "I'm sending a message back to you";
}
As far your socket server, what would be the proper way to send info back ? Is this possible within the confines of your basic,basic,basic server ?
You have this function call for Receiving:
System::Call 'ws2_32::recv(i $4,t .R3,i 256,i 0)i .R2'
;
Is there a similar function for SENDING in ws2_32 ?
I saw this from msdn:
http://msdn.microsoft.com/library/de...ock/send_2.asp
//-----------------------------------------
// If data has been received, echo the received data
// from DataBuf back to the client
if (WSASend(AcceptSocket, &DataBuf, 1, &RecvBytes, Flags, &AcceptOverlapped, NULL) == SOCKET_ERROR)
printf("WSASend() is busted\n");
;
C++ is not yet my strong suite...although I am doing my homework on the subject
;
many thanks for all of your help, kike 🙂
g