No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am writing a client-server program in c++ in linux. I want a functionality in my server that when server is waiting for some response from client, it should not wait indefinitely. But if no response is received say within 30 secs from client, it should disconnect the client. Is … |
|
I am making a server-client application in c++. In this i am also using shared memory & file read-write operations. my program is completely ready & i now wants to make a gui for it. someone suggested me to go for QT4, but when i tried it, i found i … |
|
i want to make a single program for operating both server & client. i want my program to run in such a way that when program is launched, server should start listening for requests from other machines. but when i want to send data to other machines, my server should … |
|
i have declared a variable as uint32_t num; when i take input for this variable i.e cin>>num; cout<<num<<endl; & take its cout, then it gives problem. when i run this program, i gives num value as 12345678, it works fine & give cout. but when i give input as 1234abcd. … |
|
i have got 2 cpp files & a header file, which i have included in all 2 cpp files. its like this [U]abc.h[/U] extern uint32_t key; [U]a.cpp[/U] #include "abc.h" uint32_t key; int main { ............. } [U]b.cpp[/U] #include "abc.h" int main { printf("Key: %.8x\n", key); ............. } now when i … |
|
I am writing a program in which i will be using 2 functions, one for writing integers into a text file & second for reading them back in integer form. while i did not faced in writing int say 100 numbers into a text file. i am stuck on reading … |
|
I am writing a php code in which i am trying to implement the following - I have made a exe program in c++ which takes a string input from the user and then displays the output; - Now in php, i am calling this program using passthru(), system(). like … |