Socket programmin on Sun Computer

Discussion in 'C++' started by Kathryn Bean, Oct 12, 2004.

  1. Kathryn Bean

    Kathryn Bean Guest

    I am implementing TCP socket connectivity between several nodes running on
    Sun platforms. Which function do I need to use to convert from domain name
    address to IP address in decimal format.

    Thank you in advance.
    Kathryn
    Kathryn Bean, Oct 12, 2004
    #1
    1. Advertising

  2. Kathryn Bean wrote:
    > I am implementing TCP socket connectivity between several nodes running on
    > Sun platforms. Which function do I need to use to convert from domain name
    > address to IP address in decimal format.
    >
    > Thank you in advance.
    > Kathryn
    >
    >
    >

    gethostbyname

    try "man -k gethost" for others
    Shailesh Humbad, Oct 12, 2004
    #2
    1. Advertising

  3. Kathryn Bean wrote:
    > I am implementing TCP socket connectivity between several nodes running on
    > Sun platforms. Which function do I need to use to convert from domain name
    > address to IP address in decimal format.

    inet_ntoa, inet_ntop, gethostbyname/gethostbyaddr
    Ask further in comp.unix.programmer
    =?ISO-8859-1?Q?=22Nils_O=2E_Sel=E5sdal=22?=, Oct 12, 2004
    #3
  4. Kathryn Bean

    Default User Guest

    Kathryn Bean wrote:

    > I am implementing TCP socket connectivity between several nodes
    > running on Sun platforms. Which function do I need to use to convert
    > from domain name address to IP address in decimal format.


    Your question is off-topic for this newsgroup. Try:

    comp.unix.programmer or comp.unix.solaris




    Brian Rodenborn
    Default User, Oct 12, 2004
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    2,855
  2. Seven Kast USA

    System Programmin

    Seven Kast USA, Jul 13, 2005, in forum: C Programming
    Replies:
    0
    Views:
    293
    Seven Kast USA
    Jul 13, 2005
  3. Global Institute of Biotechnology
    Replies:
    2
    Views:
    1,370
    marthawillson
    Sep 17, 2010
  4. Global Institute of Biotechnology
    Replies:
    0
    Views:
    409
    Global Institute of Biotechnology
    Nov 28, 2007
  5. Cyont
    Replies:
    2
    Views:
    91
Loading...

Share This Page