|
-
October 10th, 2002, 06:26 AM
#1
Socket related query
in my client/server socket application
after establishing the connection bitween client socket and server socket.
server socket waits for client to send some data. it stays there untill client sends some thing like
//iReceived = recv (clntInfo->lSocket, clntInfo->rcvbuff, 100, 0);
it will not step to next statement.
what i have to do is ... i have to wait for 1 min and if client doesen't send anything in this time period i have to close the socket.
how to do this... i am programming in C
its very urgent.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|