socket programs do not giv any output

Light Poster
7Sep2006,21:38   #1
ismitevijay's Avatar
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
Go4Expert Founder
9Sep2006,14:15   #2
shabbir's Avatar
Can you give the sample program which is causing the problem.
Newbie Member
20Feb2007,13:39   #3
justsanjeev's Avatar
have u check out the unp.h and othere includer header files well...
Go4Expert Member
2Apr2007,19:24   #4
anilk501's Avatar
if u think ur code is fine


try this

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

may u will get output