Hi,
I need to develop an application which has to rearrange the out of sequence UDP packets.Can i get any sample code for this????
User Profile
Collapse
-
Handling out of sequence UDP packets
-
Number of threads linux supports
Hi,
I have to develop a server which will be running on a server class machine.To handle the clients i will be using threads.Can i know what is the maximum number of threads that can be created in linux. -
Realloc error
Hello,
I have a code which does malloc and does realloc,but whenever i free i get the fllowing error:
*** glibc detected *** free(): invalid next size (fast): 0x0804a008 ***
the code is as below:
short* p;
short i;
p = (short*)calloc( 10, 2);
for(i = 0; i < 10; i++){
p[i] = i;
}
p = (short*)realloc (p, 20);
for(i = 10; i < 20; i++){
... -
sound card programming
Hi,
I have developed an application,whi ch receives RTP packets and plays out the audio data.Is there any means by which i can implement jitter buffer??i am working on Linux.And while playing out the data i have jitters. -
G729 codec
Hi all,
I have downloaded the source code of G729 Audio codec from itu-t site and after going through its specification i came to know that it takes 80 2-byte samples encodes it and gives 10 bytes encoded data.But in the sample test application provided the encoder takes 80 2-byte audio data and gives 82 bytes of encoded data which is written into the file.I am totally confused with this test application.Can somebody pls help me. -
Audio Codec
Hi all,i am developing an application for which i need G.729 Audio codec.Pls can anyone tell me where i can get the C source code of this codec. -
could u pls explain the line "while(getchar( )!='\n');" the code is working fine but i didnt understand how the above line of code works.... -
getchar() function
Hello,
I have a code which uses getchar().
[CODE=c]#include<stdio. h>
int main()
{
char ch;
ch = getchar();
if(ch == 'Y')
{
printf("Beautif ul World\n");
}
else
{
printf("Cruel World\n");
}
ch = getchar();... -
It is in the Makefile for porting the libraries onto the linux system.These libraries are in C++ and developed on windows.So when i was trying to port it.it was compiling but not linking.Due to above mentioned reason....Leave a comment:
-
Xscale_be-gcc
Hi,
I have an application which i have to port on to monta vista linux.when i make the application it compiles fine but while linking i dont get the executable.The application is C++ and i use xscale_be-gcc cross compiler with option -X -EB option.I get the message that -X and -EB options are not recognised by xscale_be-gcc.Can anyone help me why these options are used??is it to do with xscale_be-gcc or xscale...Leave a comment:
-
Xscale_be-gcc
Hi,
I have an application which i have to port on to monta vista linux.when i make the application it compiles fine but while linking i dont get the executable.The application is C++ and i use xscale_be-gcc cross compiler with option -X -EB option.I get the message that -X and -EB options are not recognised by xscale_be-gcc.Can anyone help me why these options are used??is it to do with xscale_be-gcc or xscale_...Leave a comment:
-
Xscale_be-gcc
Hi,
I have an application which i have to port on to monta vista linux.when i make the application it compiles fine but while linking i dont get the executable.The application is C++ and i use xscale_be-gcc cross compiler with option -X -EB option.I get the message that -X and -EB options are not recognised by xscale_be-gcc.Can anyone help me why these options are used??is it to do with xscale_be-gcc or xscale_be-g++. -
Tacm
Can anybody help me explaining what a TCAM is?how does it function?Any related sites to know more about TCAM?Leave a comment:
-
Tacm
Can anybody help me explaining what a TCAM is?how does it function?Any related sites to know more about TCAM? -
my understanding is that,in memory each cell is arranged in rows and columns.The cpu accesses memory by sending the memory address on the address bus i.e the higher order byte indicating the row and lower order byte the column.I want to know the width in the sense,number of columns.Does this width have an effect on the arrangement of a structure in memory.for ex i have a structure which has an int and a char:
struct a{
int a;
...Leave a comment:
-
-
-
gcc and g++
What is the difference between g++ and gcc which are used for compiling c/c++ programs.I have an application which uses gcc for compilation and compiles sucessfully.But instead when i use g++ it gives me a error. -
My doubt is when i dont use packed the size of struct is 24 i.e size of long int ,is it that the size of other members of struct is based on the largest size member of struct.(here unsigned long int).But when i use packed the size is taken as normal size of members.
When i dont use packed as in the first case the size is 24 i.e size of unsigned long int,which is also taken as size for two unsigned ints, and what about the two bit fields of...Leave a comment:
-
size of a structure
hello,
I have a structure when i print the size of struture i get different values printed can anyone explain:
struct m{
unsigned int i;
unsigned long int j;
unsigned int l;
unsigned int k:2;
unsigned int m:2;
};
size is:24
what about bit fields????
struct m{
unsigned int i;
unsigned...
No activity results to display
Show More
Leave a comment: