Ryan wrote:
if ((s_curr = accept(s, (struct sockaddr *) &pin, &addrlen)) == -1)
{
printf("ERROR: accept\n");
}
printf("Connection Received\n");
You'll have to quote a *little bit* more of the program (e.g. what you
have initialized pin and addrlen with, and what calls yo
I am trying to learn about socket programming, so I am creating a simple web
server that receives connections and sends the requested file. I have a start
to the code, and this code works fine when built and ran on a true linux
machine. However, I have been having trouble getting it to work in
2 matches
Mail list logo