1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

socket programs do not giv any output

Discussion in 'Unix' started by ismitevijay, Sep 7, 2006.

  1. ismitevijay

    ismitevijay New Member

    Joined:
    Aug 26, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    hi all; i m reading " unix network programming " by richard stevens . i am in the chapter 5 of the book. various examples given in the book , are really simple and well understood. but when i write the codes myself , and compile using gcc, it goes well and compiles good. but it doesnt give any output when i try the executables with commanmd line arguement . it doesnt giv any err but just hangs on. for ur information , i m using a proxy server.(is this problem becoz of this ?); plz help so that i can carry on with the book;

    thanx
    vijay k
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,287
    Likes Received:
    364
    Trophy Points:
    83
    Can you give the sample program which is causing the problem.
     
  3. justsanjeev

    justsanjeev New Member

    Joined:
    Feb 8, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    have u check out the unp.h and othere includer header files well...
     
  4. anilk501

    anilk501 New Member

    Joined:
    Oct 3, 2006
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    if u think ur code is fine


    try this

    give \n in printf ---> printf("..........\n");

    may u will get output
     

Share This Page