Now you've *really* lost me? What are you trying to accomplish? Someone is
passing a socket to you from unmanaged code and you're trying to build a
TcpClient object around it or what? Forget about *how* you're trying to
accomplish your task; tell us what the task actually is.
No, unfortunately you either create a connection using TcpClient and lose
direct socket access (short of several socket options available as TCPClient
properties) or you create it using socket and take care of all of the
housekeeping yourself. A hacky workaround would be to use reflection to get
to the underlying socket and set options on it drectly.
Hi Paul,
I new at this. I am trying to have a listener connected to listen for
another application trying to connected to the send information. Once i hear
the someone trying to send information i want to set up a TCPCLIENT to
connect and get the data WHILE the listener is still connected. I can do this