I have client server program for transfer of data using windsock but i need something like a client - channel - server in which channel will retrieve the request from the clinet or server will process it and id at that time channel is busy it will store that request in a queue. i want channel as a separate application. I have a little idea about this like:
class ch {
void getdata{
//to recieve data
}
void putdata{
//to send data
}
void queue{
//to store if channel is busy now
}
private:
void dataaddress;
double datasize;
}
i thought of making it as a different application or as a dll file but i have no clue how to do it with dll file and other if i do it with socket it will be same like client or server. So is there a better way do it or somewhere to start? i know about boost:asio and other libraries but i need something in standard libraries of c++.