DeveloperX 0 Newbie Poster

OK, I've fashioned a UDP server situation by creating a socket and then using its Bind method to bind it to an endpoint.

This application handles multiple incoming requests, and maintains state for each request based on the remote endpoint's ip address and port number. All of these, obviously, come in through the single socket since UDP is connectionless. Subsequent requests from another computer come in through the same remote endpoint.

With me so far?

SO i have occasions where I need to end a session. How do i tell the socket to disconnect itself from a single endpoint? My concern is that if i don't explicitly close something, I am consuming RAM to "hold" a spot open... am I way off here???

Thanks