can any one tell me what is socket descriptor in socket programming in c.

in general terms (although not exactly precise), the "socket descriptor" is used like the "handle" for the socket, similar to a FILE * handle. int sd = socket(AF_INET, SOCK_STREAM, 0); where "sd" is the socket descriptor and, like a file handle, is then used to make additional calls to the socket like "connect" "read" "write" and "close"

that's great site ^

i wish i would have known about that a few years ago

hell, i might just have to read it through tonight.

:P

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.