UNIX/Linux Programming - August 2009

Can any one has Idea on "Error: Could not find a match"
 
Hi All, I am facing the problem of "Error: Could not find a match" Error Problem Anybody's help is much appreciated, details are as follows I have a Header ...
[2 replies] Last: Hi Gulkan, The above function is generated by compiling wsdl file, its... (by srinivasreddy)
How many processes are created in this snippet?
 
Main() { Fork(); Fork() && fork () || fork (); Fork (); } help would be appreciated..
[2 replies] Last: Assuming Fork() == fork(), fork() returns the PID of the child pr... (by jsmith)
by jaeho
fork problem
 
hi guys, I am trying to figure out this problem for days and have not found yet. It literally drives me crazy. the problem is when I do (this is a c...
[no replies]
decryption using digital certificate
 
A client application is encrypting a text using private key and sends through socket. My application(server written in c/c++,unix) receives the chiper-text t...
[2 replies] Last: I've done it before, and it's not easy using that interface at all. F... (by kbw)
How to read std out from a system() call
 
I found this example online from this forum and it has an example of how to read data from the system() call. I was wondering if this can read the data into a c...
[1 reply] : It doesn't do anything. ptr is a variable that is assinged the addres... (by kbw)
by velsd
updating a vector from a thread
 
hello all, I lack an understanding of the details of how threads interact in C++... I have a number of threads extern "C" void* My_Thread(void* arg) ...
[8 replies] Last: ok, I finally solved this by: - making a new version of the program w... (by velsd)
inheriting ostream and redefinition of <<
 
Hi, all! I'm having a problem that should be really simple, even if I cannot find the solution... :-) Somehow I need to create an output stream that should w...
[no replies]
by gusti
mutex and loop
 
Hi, I just begin my project which designed to work on multi thread environtment.Im guarding some block of loop using mutex, and some one on my team cri...
[10 replies] Last: hello every1, I've question related it. I want to create a new socket... (by quant)
problems with dlopen()
 
Hi, my dlopen function is returning null even though the path for the .so file is valid. can anyone help? this is the line of code void* handle = dlo...
[5 replies] Last: In a statement like dlopen("../_binlinux/CollectionsEx.so", RTLD_... (by schwencf)
by ancest
How to print a unicode character on terminal correctly and write it to a file?
 
How to display a unicode character correctly on terminal and write it to a file. I tried using wcout. But it is not displaying correctly. I tried this code:-...
[2 replies] Last: First of all thanks to Disch for your help. Sorry for taking too much... (by ancest)
wcstombs is not returning correct output using g++ compiler
 
Kindly have a look at following code piece: When I am compiling this code on Visual studio compiler, I am getting correct output "こんにちは、お元気...
[1 reply] : Hai i tried this in my fedora-8 and i get the correct output by changi... (by ancest)
GUI and API on Linux
 
So far I have been writing computer programs for Windows using WinAPI. But I'd like to write portable code for my programs. And I know nothing about Linux's equ...
[6 replies] Last: > via X, which is not usable/accessible without a library... Actual... (by Duthomhas)
thread context switch
 
1. If a thread goes to sleep state(or nanosleep) will context switch happens?? 2. If a thread is waiting conditionally on a queue i.e., a call to cond_wait_qu...
[2 replies] Last: Thanks a lot smith (by prasadi)
IPC on Linux
 
So, I'm currently working on a project that, in the simplest way possible, can execute another .out file and give or take variables from it. After awhile of sea...
[10 replies] Last: sorry, this used to contain information. im changing it now. i solved ... (by elvenspike)
Problems with a daytime client
 
I can't get the client to show the date... Nor connect some times... I also recieve a warning on compile... The warning and files being used are as follows:: ...
[3 replies] Last: hmm... i dunno. so removing the arguments just kinda broke it? hmm. lo... (by elvenspike)
by lukp
Make question
 
I am new to using the Unix 'make' package and I have a question regarding header files and functions in header files. I have been told that it is good practi...
[4 replies] Last: Couldn't you just add it (thie obj) as a program dependency and have t... (by kbw)
Finding used socket receive-buffer size
 
I have set the receive buffer size of socket to max. setsockopt(sd,SOL_SOCKET, SO_RCVBUF,&max,optval); Am reading data from the socket in a loop(say ...
[2 replies] Last: Thanks (by johnbach)
by quant
rebind socket
 
hello, How I can rebind socket, but not less connection? I use daemon with reload configuration, but, if I've bind socket everywhere 0.0.0.0 and have got conne...
[no replies]
by tatebn
libcURL perform function crashing.
 
I've been working on switching a paypal gateway written in c++ over from the sdk to libcurl. I think I have everything setup correctly, however, when it gets t...
[1 reply] : Update: I dumped the necessary headers before running curl_easy_perfo... (by tatebn)
by vijkrr
How to catch the system Exception SEGV
 
Hi all, i wrote a small program which is throwing SEGV exception, in my program i can able to identify the error. But in general i want to catch the syste...
[1 reply] : man signal man sigaction http://www.linuxprogrammingblog.com/all-a... (by jsmith)
August 2009 Pages: 12
  Archived months: [jul2009] [sep2009]

This is an archived page. To post a new message, go to the current page.