on my lan 192.168.0.1 is running a webserver so when i wrote a simple socket application like
struct sockaddr_in * address= new (struct sockaddr_in);
printf("connect %d \n",connect(sock,(struct sockaddr *)address,sizeof(*address)));
printf("%d ",send(sock,"GET /index.htm",14,0));
till send everything is working fine but why i am not able to retreive the index.htm page back .
i have tried the same program on my linux box too but to no avail .what is the prob am i missing something ...