Socket and authorization.

  • Thread starter Thread starter Vladimir Bezugliy
  • Start date Start date
V

Vladimir Bezugliy

I use Socket for network communication.
I listen some port.
And where some computer send data to this port - I read it.
But how could I recognize from what computer I get data(host name IP
address)?
 
Vladimir Bezugliy said:
I use Socket for network communication.
I listen some port.
And where some computer send data to this port - I read it.
But how could I recognize from what computer I get data(host name IP
address)?

Look at Socket.RemoteEndPoint to find out where the "other end" of your
socket is.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top