User Profile

Collapse

Profile Sidebar

Collapse
mahiapkum
mahiapkum
Last Activity: Feb 23 '09, 11:08 AM
Joined: Mar 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mahiapkum
    started a topic Handling out of sequence UDP packets
    in C

    Handling out of sequence UDP packets

    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????
    See more | Go to post

  • mahiapkum
    started a topic Number of threads linux supports

    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.
    See more | Go to post

  • mahiapkum
    started a topic Realloc error
    in C

    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++){
    ...
    See more | Go to post

  • mahiapkum
    started a topic sound card programming
    in C

    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.
    See more | Go to post

  • mahiapkum
    started a topic G729 codec

    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.
    See more | Go to post

  • mahiapkum
    started a topic Audio Codec
    in C

    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.
    See more | Go to post

  • mahiapkum
    replied to getchar() function
    in C
    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....
    See more | Go to post

    Leave a comment:


  • mahiapkum
    started a topic getchar() function
    in C

    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();...
    See more | Go to post
    Last edited by Ganon11; Oct 25 '07, 01:45 PM. Reason: Please use the [CODE] tags provided.

  • mahiapkum
    replied to Xscale_be-gcc
    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....
    See more | Go to post

    Leave a comment:


  • mahiapkum
    replied to Xscale_be-gcc
    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...
    See more | Go to post

    Leave a comment:


  • mahiapkum
    replied to Xscale_be-gcc
    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_...
    See more | Go to post

    Leave a comment:


  • mahiapkum
    started a topic Xscale_be-gcc

    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++.
    See more | Go to post

  • mahiapkum
    replied to Tacm
    Tacm

    Can anybody help me explaining what a TCAM is?how does it function?Any related sites to know more about TCAM?
    See more | Go to post

    Leave a comment:


  • mahiapkum
    started a topic Tacm

    Tacm

    Can anybody help me explaining what a TCAM is?how does it function?Any related sites to know more about TCAM?
    See more | Go to post

  • mahiapkum
    replied to width of memory
    in C
    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;
    ...
    See more | Go to post

    Leave a comment:


  • mahiapkum
    started a topic width of memory
    in C

    width of memory

    how can i know the width of memory in a c program??
    See more | Go to post

  • mahiapkum
    replied to size of a structure
    in C
    Thanks for ur advice i understood....
    See more | Go to post

    Leave a comment:


  • mahiapkum
    started a topic gcc and g++
    in C

    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.
    See more | Go to post

  • mahiapkum
    replied to size of a structure
    in C
    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...
    See more | Go to post

    Leave a comment:


  • mahiapkum
    started a topic size of a structure
    in C

    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...
    See more | Go to post
No activity results to display
Show More
Working...