First  |  Prev |  Next  |  Last
Pages: 222 223 224 225 226 227 228 229 230 231 232 233 234
multithreading and sockets in C
Hello all with some simple stream sockets, tcp/ip , I am able to do the data transfer between two hosts. But the data is really large and I am looking at things like multithreading (which I am fairly new to) so that I could fasten the data transfer. The existing code used blocking sockets. There is only one serv... 20 Mar 2006 11:05
APIs for SCTP
I've read about and downloaded the packages sctplib and socketapi which appears to use sctplib. But these are userland implementations of SCTP. What I'm really looking for is how a non-userland implementation would be used by a userland application program. I presume this would use the basic socket interface. ... 16 Mar 2006 21:05
how to read bios version using C/C++
I need to get the BIOS version using a C program. According to SMBIOS - specification it is present at offset 15h from 0x000F13CB . I get segmentation fault when I try to access this memory location. Please help. - felix ... 18 Mar 2006 20:46
Finding elapsed time
Hello, I was exploring the options for measuring the speed of packet transfer using C on a linux machine. To find the elapsed time, in the following reference it is suggested to use <sys/time.h>, and corresponding 'struct timeval' structure in combination with gettimeofday() function. However, the header file sa... 8 Mar 2006 02:56
Need help with tar command
Hi all, I am new to Unix programming. I have problem with tar because it's syntax varies from platform to platform. For example on Linux, you can untar tarred file using command, "tar -xvzf mytarfile.tar.gz" which doesnt work on other platforms like HP-UX,Solaris or AIX. Could some body tell me a command t... 9 Mar 2006 20:43
how to access environmental variables from shell in makefile
plz tell me how do i set a variable in a shell and access it in a makefile.. plzzz tell me.. ... 27 Feb 2006 21:49
Capturing Raw packets
Hello, I have written a code to send raw data using PF_PACKET to an interface. Before, on FC4, I was able to see the packets sent using tcpdump. However, using the same code on Ubuntu , I5.10 cannot capture the message send. Maybe I have to enable some special options in TCPDUMP? I have tried on both, wireless a... 28 Feb 2006 05:31
Invoking a program: exec() and command line
How can a program know, at run time, whether it was invoked by a command line or by an exec? Thanks. ... 15 Feb 2006 01:21
Program hanging when read()ing from pipe
Hello, I'm writing a program in C which uses a pipe()/fork()/exec() mechanism to execute a program as a child and make it communicate with the parent process. At some point, the child process is supposed to stop but read() doesn't seem to get an EOF and the parent hangs. 'ps' reports that the child process is d... 14 Feb 2006 15:28
Unix scripting
Hey I am new to the group..and to korn scripting....I have a script that starts a process....i want to periodically check the status of my process and output to the screen ' I am running' How would i do that... Tejal ... 31 Jan 2006 11:20
First  |  Prev |  Next  |  Last
Pages: 222 223 224 225 226 227 228 229 230 231 232 233 234