Not logged in. · Lost password · Register
Forum: MatriX RSS
roymanish1982 #1
Member since Mar 2011 · 20 posts
Group memberships: Members
Show profile · Link to this post
Subject: Fail to Create a Socket for Live IP
hi Alex,

what should i specify in AddressFanily in order to connect to My Live IP Address.

  1.  IPEndPoint localEndPoint = new IPEndPoint(IPAddress.Parse(""), 5222);
  3.                 // Create a TCP/IP socket.
  4.                 listener = new Socket(AddressFamily.Unspecified, SocketType.Stream, ProtocolType.Tcp);
  6.                 listener.Bind(localEndPoint);
      in  listener.Bind(localEndPoint); i am getting error as "The Requested address is not valid in its context"
Alex #2
Member since Feb 2003 · 4433 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
try InterNetwork
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: MatriX RSS