So are you saying, without actually saying, that you are using a TcpListener
and calling AcceptTcpClient
or the like? We should not have to drag this information out of you bit by bit. When I said that you should provide a FULL and CLEAR explanation of the problem, that's what I meant. We can't help you if we don't have all the relevant information. You say it's urgent but you're the one holding up the process by not helping us to help you. Stop trying to post as few words as possible and explain to us what you're trying to achieve, how you're trying to achieve it and what happens when you try. For instance, the ServerVariables
property is a member of the HttpRequest
class (and a couple of others) so you would generally use it in a Web Forms page or the like, where you already have in inbuilt Request
property. It seems like that does not describe your situation but you didn't bother to tell us either way, so we can only guess. Take the time to provide ALL the relevant information and you'll probably get a solution straight away.