.net - Ping A Server Via A Specific Proxy
Nov 3, 2011I know that you can easily send a ping request and receive a boolean return type in .NET, using something like:
[Code]...
I know that you can easily send a ping request and receive a boolean return type in .NET, using something like:
[Code]...
I found similar forum thread [URL], but he don't have answers. How I can conncect | send | recive data using tcp connection with specific internet service (not web).
View 1 RepliesI have a server which has around 300+ users on it. Though the problem is that its coded in VB6, and if somebody has a bad ping, everybody has a bad ping. I need a tunneling server which will tunnel the incoming and outgoing connections and make there ping appear to be 0 in the server. Client to Server, Server to Client.
View 1 RepliesI have a tcp client and tcp server.How do I ping the server from the client, by specifying the ip and port of the server?
View 1 RepliesI am working this little project where i need to ping some servers remotely. there's three of them. I need o ping them and per say while they're being pinged to have a command window open with the pinging process going to keep an eye untill it can ping successfully.And since this is for all three servers how do i create a program where it will have all three servers being pinged? [code]
View 6 Repliesim trying to do is ping a server and see if there is a response. If there is a response then i would like to set an integer to 1 if there is not a response set the integer to 0. I would also then like to gather any servers that had a response into a list box. I know how to build a list box just having trouble getting the code to set a variable if or if there isnt a response.
View 4 RepliesWhat I am looking to do is ping a server every 30 minutes to an hour or so and to send an email if the server is not pingable. [code]...
I am creating the project in Visual Studio 2010. All it does now is check if it can ping a server. I would like it to run this code every 30min.
Is there a way to have your program automatically create a proxy for a specific browser, like IE, when your app is running? I was thinking that maybe you could create a VLAN proxy or something and a button on the app to toggle it on and off. But I'm not sure how or if one can do it.
View 1 RepliesI am trying to use the my.computer.network.ping method to check a server's ping. what I realize is that I need to open a socket. I do not know how to do that. I have a textbox with the website url.I have a label that will display ping.
View 2 Repliesbelow is my code
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
ProgressBar1.Value = 5
Dim strTo As String = setting.tosett.ToString[code].....
i want the program to ping the server before sending the mail; if server is available then send mail if not then message box with warning appears notifying user to check VPN connection and sending of mail is canceled.
Is there an easy way to just ping a server by IP or URL and return the minimum, maximum and average milliseconds? Actually the same results I get in CMD when using the ping command. Can't find any tutorial that describes it. So let's say I have a Textbox1 and a Button1 and a Label1 for the results. How can I do it?
View 1 RepliesI work as an IT Administrator and manage a few Servers, Routers, VPN Connections over a number if locations. What I am wanting to do is create a vb.net app that will go out and ping say every 2-5mins each of the servers, routers, that are listed and then shows beside the Hostname a Green Circle which means online and if its a Red Circle its offline, and the screen refreshes if their is a problem or a device / service comes back online.
Then if its offline email a particular email address showing the hostname of either the server or router and which location saying its offline. If possible to make it easier to change the devices to show possible have a txt file or something like that with the Hostname, IP Address, Location.
i have tried altering some code i have to ping an ip address and store the result in an access db.i had it working when i had the ip hardcoded in as a string but I am now gettin an error.instead of having the ip address hardcoded in to the code i want it to be read in from the access db but im now getting this error:System.nullreferenceExceptionbject reference not set to an instance of an object at...button1.click event args ei have underlined the piece of code i tried to change
Imports System.Data
Public Class Form1
Dim Ping As Net.NetworkInformation.Ping
[CODE]...
I have a need to create an app that can automatically switch it's LAN settings over to a proxy server from time to time.....can anyone start me down the right path to which class I should be using to create this monster?
I'm not looking for the entire code just the door would be a nice start.
i have an application, that just connect a website through a proxy server.So i need to find out the proxy server type.Like SOCKS5, HTTP and Is there any way to find it out?
View 1 RepliesI am able to connect remote MS SQL Server 2005 using vb.net-->
Imports System
Imports System.Data
Imports System.Data.SqlClient
[Code]....
But my app is takes more than 2 second for refresh the data..... Sometimes it getting hanged.
Finally i just want to know if their any method available to connect the remote MS SQL Server Database for faster calculation. Like UDP or Proxy....
Is there a way to make your webbrowser connect to a website via proxy server? (ex: 123.123.123.123 :: 12345)
View 7 Repliesi could implement a proxy server into my webbrowser so i could use it at school without it reducing my internet credit?
View 2 RepliesI have a small desktop Twitter client written in VB.NET (2.0). Works great. Some of my users have emailed me and said that the application isn't working for them because they are trying to use it on networks where a proxy server is part of the network connectivity equation.
[Code]...
I need a bit of advice. How do I connect to the proxy server using the code on below?
Public Function ProxyServer(ByVal URL As String, Optional ByVal UseProxy As Boolean = False, Optional ByVal ProxyAddress As String = "", Optional ByVal ProxyPort As Integer = 0, Optional ByVal UserName As String = "", Optional ByVal PassWord As String = "", Optional ByVal Domain As String = "") As String
[Code]...
I am adding code to use a proxy server to access the Internet.The code works fine when requesting a file from a normal (HTTP) location, but does not work when accessing a secure location (HTTPS).[code]...
View 1 RepliesIs there a way to make your webbrowser connect (or your computer ping) to a website via proxy server? (ex: 123.123.123.123 :: 12345)
Not a proxy like corpask, but an IP and port.
I need to create a small report to be send automaticliy from VB.NET Windows application. I have wrote below code which is working on my private PC, and with Gmail settings, such as username + password + smtp.gmail.com, etc...
But with, my work informations, like my proxy ID + proxy password + company smptserver + port 25, does not working .
Do I missing some lines in my code?
CODE:
Here is also printscreen of error, while try to execute program.printscreen
Attached image(s)
i am working on a my project, which send email to me using gmail.smtp, it works fine on xp, vista, and + some of windows 7 versions, in few pc's i had tried that, and got a issue.here is detail of error i got in there, i am using visual studio 2008 & a internet with proxy server,n my openion its a problem with internet ? maybe ? because when i had used this on my dsl connection it worked.
View 7 RepliesI recently Ported this C# proxy across to VB.net but I am having the same problems I did in C#... It doesn't fully load a web page (and some don't even load).
VB
Imports System.Threading
Imports System.Net.Sockets
Imports System.Net
Imports System.Text
Module Module1
Private attempts As Integer = 0
[Code] .....
As you can see in the following picture it dosn't completely load VBforums.com: As you can see above the page just stops and in the source code you can tell the page didn't completely load.
I need to create a small report to be send automaticliy from VB.NET Windows application. I have wrote below code which is working on my private PC, and with Gmail settings, such as username + password + smtp.gmail.com, etc...But with, my work informations, like my proxy ID + proxy password + company smptserver + port 25, does not working .
Imports System.Net.Mail
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Mail As New MailMessage
[code]....
here is also error while try to execute code from program.
I have a console application created in VS2005, with a web reference created via WSDL.When I run on my local machine (and I have a browser up) I can access the web service fine (if a browser is not up I get the 407 error).I understand this,since my local client machine MUST go through the company proxy (I assume the proxy is resolved when I sign start the browser).When I copy the application to our server, the 407 proxy authentication required error ALWAYS comes up.The thing is, on the server all check boxes in internet options/connections/lan settings are NOT checked. i.e. the server DOES NOT go through a proxy.I installed wireshark to help track down the problem and it shows that when i access the web service wpad is being called and our proxy server is being called.is there a .net configuration that allows me to say "ignore the proxy".I have already tried variations on the system.net section of the app.config file: [code]It seems that no matter what we do (including changing registry settings) this application ALWAYS tries to go through a proxy.
View 1 RepliesI found an example of a simple irc client, but I'm really confused about how it sends data back to the irc server. In the example, this is the code used to respond to the server's PING request. it lies in the onDataArrival event of a sockets client:[Code]
However with this simplified code, as soon as it tries to respond to the PING request it is disconnected from the irc server with the reason "Excess Flood". So I was hoping someone could explain to me the difference between the pretty complicated method and my simplified one which doesn't work.
I'm making a application to use in college to retrieve my calendar and other things in VB.NET. But my college uses a proxy so when I connect my laptop I need to change the internet settings in my web browser to view web pages. how I would send requests via a proxy server in VB.NET? Or is there a piece of software that I can download which tunnels all connections or is there a setting in win7 does this?
View 1 RepliesI'd like to set the proxy for a web request. However, when I say, for example, request.proxy = "x.x.x.x:xxxxx", it gives me the error "String cannot be converted to webproxy". How can I get around this and actually set the proxy?
View 2 Replies