Block Connections To An IP Address (Incoming And Outgoing) In Visual C+ , C# , C?
Oct 29, 2009
Is there a way I could block connections to an IP address (Incoming and Outgoing) in Visual C+/C#/C???
I have a different method, using the windows hosts file. I could make it redirect, but on the host file, could I make it launch a certain application when it blocks an IP. Like, launch a file called blocked.html that says "Webpage blocked" on it? [code]...
View 3 Replies
ADVERTISEMENT
Jul 25, 2010
I 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 Replies
Oct 25, 2009
Is there a way I could block connections to an IP address (Incomming and Outgoing) in visual basic 2008? I have a different method, using the windows hosts file. I could make it redirect, but on the host file, could I make it launch a certain application when it blocks an IP. Like, launch a file called blocked.html that says "Webpage blocked" on it? and if u get this far, how can I see when an app attempts to connect to the internet. Like on bit defender firewall, say aim6.exe trys to connect to a server, how could i warn the user of this???? (Maybe using winsock)
View 1 Replies
Feb 4, 2010
Is it possible to filter the incoming and outgoing data on a COM port terminal... to distinguish it?
View 2 Replies
Jan 3, 2010
I was wondering, if there is a way to block incoming connections from specific ip adress that tries to connect to computer
I assume that it cant be via windows host files
View 5 Replies
Jul 13, 2011
Is it possible to make a program similar to outlook express where I can send/receive emails , I already made one sending emails but I need to receive emails too
View 2 Replies
Jan 24, 2012
I am using sockets to send message between computers. I send the messages alright. What I want is when the message "x0x" comes, the client must be closed within 5 minutes. Teh admin can cancel the request by sending message "-xx" as well. The routine that checks for incoming connections and accepts messages uses WHILE TRUE...END WHILE since it must always listen. Once I get a message, I need to fire a timer control or other that fires within 5 minutes. But the program cant leave the WHILE TRUE at all. If i exit it early, the timer fires and the program does get exit. How do I fire the timer or other routine while still the WHILE TRUE routine checks for incomin connections and messages?
View 5 Replies
Mar 2, 2012
I am writing a socket client into my application. I have multiple socket connections to make to different servers.
ClientSocket(1).BeginConnect(endpoint1, AddressOf Connected, Nothing)
ClientSocket(2).BeginConnect(endpoint2, AddressOf Connected, Nothing)
Both clients call the connected sub... how do I know which one is which?
Private Sub Connected(ByVal ar As IAsyncResult)
View 3 Replies
Sep 21, 2009
i want to block ip address individual and reange ips.
View 1 Replies
Feb 25, 2012
Does anyone know the code to address Logical Block 0 of a disk? This is my dump of block 0 of a multipartition disk.
[Code]....
View 15 Replies
Nov 16, 2010
What i want is :
There is one windows app ( made in .NET 3.5, VS2008, C# ) for Windows XP SP2 & SP3
generally users can change there IP or modify their IP Address.
Now,when my apps starts i dont want users to change there IP Address untill my app stops.
View 3 Replies
Dec 9, 2011
I have to create a block of code that detects the Local IP address of connected adapter and returns it as string to a TextBox.
View 7 Replies
Jun 27, 2012
I need to be able t view the current local area connections and then click the one you want to change and then change the internal ipaddress as well as gateway and subnet mask using visual basic.
View 1 Replies
Jul 19, 2011
Using VB.Net and SQL Server 2008 R2: I have recently had a database that using sp_who2 reflects a connection ".Net SqlClient Data Provider" is still active even though the .Net application has closed and disposed of all connections.
[Code]...
View 1 Replies
Oct 26, 2010
In VB Classic, VBA and also in Visual Studio you can dbl click close to the left hand margin of a block of code and it will select the whole of the current block (sub, function etc). In Visual Studio this clickable area is adjacent to the line numbers on the left.Is there a keyboard shortcut that will do the same job? that is, select the "current block".
View 3 Replies
Nov 16, 2011
Is there any way visual studio block Port 8080 to stop the internet? I want to make an administration system and I have a functionality that blocks the internet of a computer but everytime i look for a solution in the web it is either from another language or just a discussion about network protocols. Can someone help me? I had a background of tcp/ip protocols but i really can't figure it out and convert it to codes using visual studio.
View 5 Replies
Aug 13, 2009
I have a Vista O.S., but I want my program to change the Ip address on mutiple O.S. with one click of a button or possibly on a timer to switch ip addresses every few minutes. How would I do this in VB 2008?
View 4 Replies
Dec 11, 2011
i am trying to run a .vbs script that is not in the same directory as the program is in
Dim CustomInstalaionPath As String = "C:UsersuserDesktopTest"
Process.Start(CustomInstalationPath + "/run.vbs")
the program is running in the normal directory for de-bugging
C:UsersuserDocumentsVisual Studio 2010Projects...
i have tried loads of ways but nothing is successfully running it
View 1 Replies
Jan 12, 2011
Is there a way i can write this into a command button?
In a CMD Prompt if you type:
nslookup
set type=mx
set timeout=30
emailaddressdomain.com
it will give you the outgoing mail server address is there a way i can write that into a command button and display the results into a textbox?
View 5 Replies
Jul 13, 2011
m new in Visual Basic programming, recently I have developed an application to send and receive UDP packets using the Socket Class. Everything is working ok, but there is one more thing I have to acomplish, which is specify the outgoing UDP port for outgoing packets (SendTo method), I need to do that because the application in the other side just process packets from an specific UDP port at the origin
View 3 Replies
Sep 16, 2009
someone know how to change the name of .tif image after sent a fax??i've these object:
Set FaxServer = CreateObject("FaxServer.FaxServer.1")
Set FaxDoc = FaxServer.CreateDocument(Server.MapPath("fax.doc"))
View 1 Replies
Jan 19, 2009
It doesn't look like much is out there after searching but I was wondering if anyone has seen any vb.net projects to create a simple outgoing telephone dialer? Maybe something that can talk to a PC modem?
I'm not sure but was even wondering if this is something that can be done in a procedure? Doesn't look like there are any features that lend itself to it.
I thought also, I may do something with an RS232 stream and then use an external hardware dialer.....if I did that, I'm sure I could do the code in a Sub.
View 4 Replies
Feb 29, 2012
Recently I've been into PBX call accounting programming on VB.Net 2010. My results are way too successful including friendly user-interface and connection datareceiving coding. Except for one. That is the call duration of calls, incoming and especially those outgoing. In my project I didn't use any API (like TAPI for PBXs) thus is there any option how to detect the state of the outgoing call, whether is still ringing, ended without answer or answer at some point of time...because in my project nevertheless what call state is being processed, I'm getting the total call duration from the moment that call was initiated to the moment is being finished or not-answered.
Here is a sample of my project where the DataReceived event is fired whenever there's something to parse from PBX to the PC.
Programming language : Visual Studio 2010 Ultimate - Visual Basic .Net
Database : Microsoft SQL Database
PBX Machine : Panasonic KX-TEM824
P.s. If you need to provide some code I'll post a sample of my project where the DataReceived Event is being handled.
View 13 Replies
May 3, 2010
I want to write a Macro or script to identify if there is any SSN like numbers in the outgoing outlook mail? The SSN format can be like 123-45-6789 or 123456789. Is it possible with outlook Macro?
View 2 Replies
Sep 18, 2009
Is there a way to determine if a System.Net.Sockets.Socket has sent data that has not been received/read by a specified remote endpoint with a connectionless protocol?It never hurts to try.
View 1 Replies
Aug 5, 2011
I m using proxy in httpwebrequest
[Code]...
But i m unable to check any outgoing connection from my application in fiddler how i can check what request my application sent to server if i m using proxy
View 4 Replies
Mar 26, 2009
Is it possible to detect a incoming e-mail?
I am thinking of making a small form pop out from the side of the screen for a specified time period with a message indicating a email has arrived.
View 7 Replies
Apr 15, 2010
I'm listening to a something coming in on a serialport every second. how to start an event if there is nothing coming in all of a sudden.
The way I imagine it is on a timer.
Sub timer_tick
if serialport1.readline = "a" then
do something, its ok
[Code].....
View 1 Replies
Jul 6, 2011
Are there any IP Address filters or masks available in Windows Forms as per following screenshot? A backslash shouldn't be allowed or it should be filtered somehow.
View 1 Replies
Aug 11, 2009
SocketException was Unhandled: Only one usage of each socket address (protocol/network address/port) is normally permitted I get this error every time i click collect a second time.
[Code]...
View 3 Replies