I'm not sure I understand your question.
The server would normally LISTEN for incoming CONNECT requests on a socket address that has been made "well known". For example, this could be IPAddress 66.102.7.139 and Port 80. This can also be expressed as Socket 66.102.7.139:80 ~or~ 66.102.7.139..80 The only way that the server knows that a client is trying to CONNECT is if it receives a CONNECT request. As far as I'm aware, there is no way for a server to know if someone is trying to CONNECT to a socket that it's not LISTENing on. Sorry if I've misunderstood. ======= > Date: Wed, 4 Nov 2009 12:17:11 -0500 > From: joereich...@optonline.net > Subject: Re: Final Confusions on Concurrent Server > To: IBM-MAIN@bama.ua.edu > > Is there a way for the server to know what port the client is trying > to connect to > _________________________________________________________________ Find the right PC with Windows 7 and Windows Live. http://www.microsoft.com/Windows/pc-scout/laptop-set-criteria.aspx?cbid=wl&filt=200,2400,10,19,1,3,1,7,50,650,2,12,0,1000&cat=1,2,3,4,5,6&brands=5,6,7,8,9,10,11,12,13,14,15,16&addf=4,5,9&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen2:112009 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html