Socket Programming

This is a discussion on Socket Programming within the Networking/Device Communication forums, part of the General Programming Boards category; I want to implement VOICE CHAT in C using Socket Programming between 2 computers. Can anyone please help me on ...

  1. #1
    Anirban Ghosh
    Join Date
    Jan 2006
    Posts
    277

    Socket Programming

    I want to implement VOICE CHAT in C using Socket Programming between 2 computers.
    Can anyone please help me on this - online materials, books, tutorials etc.

    I am novice in this. Any help shall be greatly helpful!

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,335
    So what's the problem?

    - sending bytes
    - receiving bytes
    - recording audio from a microphone
    - playing audio on a speaker

    Tackle the problem in small steps, focus on specific tasks and ask a specific question.

    "I want to write a ...." is not a useful question.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Anirban Ghosh
    Join Date
    Jan 2006
    Posts
    277
    Yes that is the main issue how to record audio from microphone.
    Any help please? I have no idea.

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,335
    Which OS/Compiler are you using?

    Have your searches revealed anything to do with "sound" or "audio" recording?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    Anirban Ghosh
    Join Date
    Jan 2006
    Posts
    277
    I am not sure whether it would be easy in Windows or Linux.
    I prefer Linux.

    Compiler : GCC

  6. #6
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,335
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  7. #7
    Anirban Ghosh
    Join Date
    Jan 2006
    Posts
    277
    Will JACK audio connection kit help us in capturing audio from microphone?

    jackaudio.org

  8. #8
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,335
    You tell me - it's your project.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  9. #9
    Anirban Ghosh
    Join Date
    Jan 2006
    Posts
    277
    Yes I have been assigned this as assignment in Networks course.
    Any help please?

  10. #10
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,335
    So you found the library - good, that shows some initiative.

    So what's stopping you doing some READING?
    Or downloading the library and trying some examples?
    Or trying to modify the examples in simple ways to further enhance your understanding?

    I'm not going to download it, read it, then spoon-feed you just because you asked nicely.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  11. #11
    Anirban Ghosh
    Join Date
    Jan 2006
    Posts
    277
    "I'm not going to download it, read it, then spoon-feed you just because you asked nicely."

    That was bit harsh from you. Anyway thanks for helping.
    I thought would JACK be the appropriate for my project.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Socket error on non-blocking
    By newbie30 in forum C Programming
    Replies: 1
    Last Post: 09-01-2009, 07:09 AM
  2. Function call from another .c module
    By Ali.B in forum C Programming
    Replies: 14
    Last Post: 08-03-2009, 11:45 AM
  3. Problem with socket descriptors
    By McKracken in forum C Programming
    Replies: 1
    Last Post: 07-22-2009, 08:51 AM
  4. socket programming question, closing sockets...
    By ursula in forum Networking/Device Communication
    Replies: 2
    Last Post: 05-31-2009, 05:17 PM
  5. socket newbie, losing a few chars from server to client
    By registering in forum Linux Programming
    Replies: 2
    Last Post: 06-07-2003, 11:48 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21