Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# - Not sure what's wrong here
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01079404
Message ID:
01079407
Views:
8
I figured it out. Thanks anyhow.

Stay tuned - nore C# newby questions to follow.




>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
Previous
Reply
Map
View

Click here to load this message in the networking platform