All,
I have socket application which needs to use the same socketid within a
defined range.
The steps are
1) Create socket --> using socket()
2) send, recv..etc..functions
3) Closesocket --> using closesocket()
4) Create socket --> using socket(). The application needs the same
socket id as obtained from the 1st socket call.
Since I have already closed the socket, the wince is expected to return
the same socket id.
But it is not.
Linux and other OS does it that way, where if socket is closed, the
next socket call would return the closed socket id.
Any inputs..hints.. help..anything would be very very helpful
thanks
Arun