socket programs do not giv any output

ismitevijay's Avatar, Join Date: Aug 2006
Light Poster
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;

vijay k
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Can you give the sample program which is causing the problem.
justsanjeev's Avatar, Join Date: Feb 2007
Newbie Member
have u check out the unp.h and othere includer header files well...
anilk501's Avatar
Go4Expert Member
if u think ur code is fine

try this

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

may u will get output