joby

joby

  • NA
  • 6
  • 0

why this options in socket..please give a detail

Sep 30 2009 1:01 PM

ResponseUri = resquest.RequestUri;
socket =
new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
IPEndPoint remoteEp = new IPEndPoint(Dns.Resolve(ResponseUri.Host).AddressList[0], ResponseUri.Port);
socket.Connect(remoteEp);

Answers (2)