getaddrinfo()

Discussion in 'Linux Networking' started by Bill Cunningham, Mar 19, 2014.

  1. Would using getaddrinfo() be suggested by most. I want to send packets
    or pings to my ISP's network to see if they have SessionInitiationProtocol
    over UDP or maybe over SCTP would be better. But that's port 5060. How would
    I go about writing a simple handshake to get a response from a SIP service?
    Then I can worry about RTP and RTCP.

    Bill
     
    Bill Cunningham, Mar 19, 2014
    #1
    1. Advertisements

  2. Bill Cunningham

    Chris Davies Guest

    You could take a look at ekiga, linphone, twinkle, or any of the other
    VoIP applications for which source is available.

    Chris
     
    Chris Davies, Mar 19, 2014
    #2
    1. Advertisements

  3. Bill Cunningham

    Jorgen Grahn Guest

    Yes, I highly recommend it. But I don't see the connection
    to the rest of your question? It doesn't implement any kind of
    handshaking for you: it just does name resolution and sets up
    data structures for you.
    /Jorgen
     
    Jorgen Grahn, Mar 19, 2014
    #3
  4. Well I am trying to learn the API for sockets. The rest of my question
    deals with looking at audio or visual packets of RTP and RCTP. And SIP I
    also ask whether or not SIP would be better to run on SCTP or UDP.

    Bill
     
    Bill Cunningham, Mar 19, 2014
    #4
  5. Bill Cunningham

    Jorgen Grahn Guest

    Ok, then I suggest you ask different, unrelated questions in different
    postings. It's easy to get confused otherwise.

    /Jorgen
     
    Jorgen Grahn, Mar 19, 2014
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.