Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# - Not sure what's wrong here
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
C# - Not sure what's wrong here
Divers
Thread ID:
01079404
Message ID:
01079404
Vues:
48
I'm getting this error on the last line below. Anyone know what's wrong?

'System.Net.IPEndPoint' is a 'type' but is used like a 'variable'
// Create an instance of the endpoint object
iPortNo = int.Parse(txtPort.Text); sIPAddress = txtIP.Text;
IPEndPoint oEndPoint = new IPEndPoint(IPAddress.Parse(sIPAddress), iPortNo);

oServer.BeginConnect(IPEndPoint, new AsyncCallback(Connected), oServer);
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform