16,022,129 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by shivanand3291 (Top 7 by date)
shivanand3291
15-Apr-13 7:54am
View
Thanks prasad. iused this code from the link you hav posted. string hostname = "localhost";
int portno = 9081;
IPAddress ipa = (IPAddress) Dns.GetHostAddresses(hostname)[0];
try
{
System.Net.Sockets.Socket sock = new System.Net.Sockets.Socket(System.Net.Sockets.AddressFamily.InterNetwork, System.Net.Sockets.SocketType.Stream, System.Net.Sockets.ProtocolType.Tcp);
sock.Connect(ipa, portno);
if (sock.Connected == true) // Port is in use and connection is successful
MessageBox.Show("Port is Closed");
sock.Close();
}
catch (System.Net.Sockets.SocketException ex)
{
if (ex.ErrorCode == 10061) // Port is unused and could not establish connection
MessageBox.Show("Port is Open!");
else
MessageBox.Show(ex.Message);
but i am getting error in the 7th line as " This protocol version is not supported here" What can i do now? pls resolve this issue
shivanand3291
9-Apr-13 2:51am
View
ya it worked..Thanks nasir !!!
shivanand3291
9-Apr-13 1:44am
View
@prasad khandekar: Do you mean writing .vbs scripts to do iis configuration settings?
shivanand3291
9-Apr-13 1:42am
View
The name 'path' does not exist in the current context error. what does this mean nasir?
shivanand3291
9-Apr-13 1:35am
View
very sorry abhishek...felt very bad for this. sorry for those commments. i will delete it now
shivanand3291
9-Apr-13 1:30am
View
Yeah you are right sergey but i have certain configuration settings to be done using that form and once it is done i want to launch this msi file upon a button click
shivanand3291
25-Jan-13 4:47am
View
Deleted
get lost!!! tats not much difficult.. do it by urself
Show More