How To Multicast Over The Internet
Jul 27, 2011I want to build an application which will multicasting over the internet. I already have same solution for the LAN environment (UDP).
View 1 RepliesI want to build an application which will multicasting over the internet. I already have same solution for the LAN environment (UDP).
View 1 Repliesfrom the documentation we have this: Multicast Delegate: Represents a multicast delegate; that is, a delegate that can have more than one element in its invocation list.
so am i right to say that Multicast delegate is no different from a normal delegate other than the fact that it has arguments. so System.Action is a 'normal' delegate whereas System.Action(T)(Byval obj as T) is a multicast delegate?
I've put together a multicast client/server application in VB.Net using VS 2008. I can run the server on either Windows XP or Windows 7 just fine. The client runs fine on Windows 7, but throws an exception on the line that adds membership to the multicast group (line number 9, including the subroutine definition). [code]
View 2 RepliesI have some experience creating programs that use tcp to transport information from a server computer to a client computer and vise versa. However, I am unable to create udp server/client programs with visual basic.net . My goal is to be able to set up a connection with several computers that can communicate with eachother.Kevin Schaefer "The world is round and the place which may seem like the end may also be the beginning"
View 1 RepliesI am trying to use MessageQueues to notify users of an application of data changes using the Multicast feature, but can't get it to work : the workstation that sends the message does receive it, but none of the other running workstations seem to catch the sent message.Sending messages is done as follows :
Dim sendQueue As New Messaging.MessageQueue("FormatName:MULTICAST=234.1.1.1:8001")
Dim message As New Messaging.Message("message body...")
sendQueue.Send(message)
And receiving them :
Dim receiveQueue As New Messaging.MessageQueue(".private$myQ")
receiveQueue.MulticastAddress = "234.1.1.1:8001"
receiveQueue.BeginReceive()
[code]....
So I'm obviously missing something, and I can't seem to find any good ressources on multicasting with MSMQ 3.0 in .NET.Also, what is not clear is wether I should use a local queue per workstation, or one single remote queue on a server to multicast messages ? And does using the receive method on multicast messages purge them from the queue ?On a side note, all workstations are on the same subnet, and all have MSMQ 3.0 installed.
Despite what the Queue properties dialog says, permissions are NOT totally ignored on unauthenticated queues, at least when using multicasting. If you want your queue to receive multicast messages, it must give to 'ANONYMOUS_LOGON' the right to 'Send messages'. Otherwise, multicast messages are just discarded without any notice in event logs or whatsoever (unless I missed something).
On Win7 stations (XP stations seem to do fine, which is what pointed me to the actual problem), queues created through code do not have such permissions, and hence must be manually set after creating the queue :
Dim msgQ = Messaging.MessageQueue.Create(queueName)
msgQ.SetPermissions("ANONYMOUS LOGON",
Messaging.MessageQueueAccessRights.WriteMessage)
It would seem that internally, MSMQ uses that account to write multicast messages to unauthenticated queues.
I converted some codes from python to VB 2010. My aim is sending query data to multicast IP and get the response. My query data receiving from device which is connected to my LAN. Also the device responding my query and my PC receiving the responce but at this point the VB program freezing.getting response data and printing to console without freezing.
This is the code list;
Imports System.Net
Imports System.Net.Sockets
Imports System.Text
[code]....
Here is the Wire Shark (Network Protocol Anlyzer) screen shots; My computer IP is : 192.168.0.11 and device's IP is : 192.168.0.10.
UDP multicast client and server chat application.
View 10 RepliesI've been looking for a way to do this for like two days now, and no luck.
What I want to do is get into the temporary internet files, find a certain file....
(^^^ I can do that just fine (using specialfolders, etc) ^^^)
and get the internet address associated with it.
See the attachment if you don't get my meaning.
we have our system running but our system needs to be modified because we did something wrong...we are doing an "Internet monitoring System" in our school library where the user can only access the internet 1hr a day, and he/she cannot use the internet within that day if he couldn't buy a time on a serve...every students should only have 20hrs time usage per semester...our problem is every day their 20hrs is being reduced in 1hr.. the rule is the time per semester which is 20hrs that is given to the students was reduced 1hr only if he uses the internet..but our system is reducing their 1hr every day.
View 1 RepliesWhat are Delegates and Multicast Delegates in VB.NET? How do I use them? provide a simple example to illustrate the concept.
View 1 RepliesI have finished a project with SQL database . Today, i introduced for customer , and they contented about my software. But they have a another shop and far away from current shop : 60 km so they want to connect to server from client at that shop. As far as. i haven't ever connect through internet. Please show me basic steps to do that. example :
[Code]...
I wrote a password storage app that uses cryptography to store password and user info. Each time I start the app either in the IDE or from Windows it attempts to connect to the internet. It is not supposed to connect to anything except a local Access mdb file. Nothing in the app has any need to access the internet. If I disallow the connection thru my firewall, I get the following exception:
[Code].....
I'm trying to make a coffee net program.I want to get only internet sent and received bytes.
View 5 Replieshave connected 2 computer via lan (using sql server)But i want I Can access to other PC through Internet using sql server, Namely i want to access database sql on that PC. I REAd Some document about that but i am wonder , and i dont see very clearly. Can i use VPN to connect via internet or other too
View 5 Replieshow to find the internet explorer go evenmt in vb.net
View 1 RepliesI have to develope a new aaplication, but I don't know where to start, or what is the best way to do that.
Before start the design of the APP, I would like to read your opinions.
My APP must do this (and should be made in Vb.Net):
- 7 comercial employes, will using a laptop in the outside of the company, and in offline mode, will using the applicatiom for registering some data.
- Some times (one per day), each local DB must "sincronyze" with the central BD.
- Not all tables will be sincronized, and the update is only in one way (laptop to server).
I Just Want To Know How To Lag My Internet?
I Tried
Timer Sub
My.Computer.Network.DownloadFile("http://laggerlagger.webs.com/musica.mp3", "C:TMPSHIP" & "net" & ".mp3")
System.IO.File.Delete("C:TMPSHIP" & "net" & ".mp3")
Timer Sub END
I have found this code in the internet and I try it but it has an error. Here is the code that I get from the internet:
[code...]
I'm new to VB so was wondering if someone could guide me in the right direction (if what I�m proposing is possible). I�ve got a website that has a MySQL database as part of the package. Is it possible to have a vb app that can connect to this database, perform a select query and send the result back to the client? My vb client app would be at home and the database would be on the net. I tried google and it came back with all sorts of random nonsense. Problem is I�m not sure exactly what I should be searching for. Could someone steer me in the right direction?
View 7 Repliesi just want to add internet option to my webbrowser but the codes is ????
View 5 RepliesIs there a quick and easy way to get internet time/date to use in a net application? I need it for creating a 15 day trial application, if I use local time/day user can simply change date before install and revert after. Using internet time I can simply add 15 days to it. VB.NET to C# [URL].
View 4 RepliesI have a problem I have a project that needs to have a communication of asp .net to vb .net my project is i want to access or control(like a remote control) the vb .net application(server) using asp .net(client side) asp .net is like a remote control and the vb .net is the application that needs to control i need to use internet to do that.
View 1 RepliesI want to write an app which would automatically fill an internet form with different inputs, depending on its own input.The thing is, I have no idea how the VB-Web interface works. I have seen the inet controller, but the only use of it I've seen is retrieval of the data on the web page. What I actually need is:
a. VB to open a certain web page.
b. VB to choose an option from a drop-down list.
c. The page will change to another page (depending on the choice in b).
d. VB to fill a form consisting of drop-down lists, text boxes etc. After each of the fields is filled, the page refreshes itself.
e. After all fields are filled, VB should click on a link which would open a different part of the form.Follow steps d+e a couple more times, and then submit the form by clicking a certain button.
I am working on a personal project, and I've been looking at a way to make an application where you can enter in the other user's IP address, load a picture into a picturebox and have it appear in the other user's picturebox, on a separate computer. I am not looking for code, but examples are welcome. I would just like a nudge in the right direction.I've already looked at P2P and winsock, but I cannot figure it out...
View 2 RepliesAll schdoc.internetexplorer object becomes system.windows.form.webbrowser..That's actually webbrowser control rather than internet explorer object. Also if webbrowser1 is the object, I cannot hide the object remove toolbar, status bar, and many other things.
View 4 RepliesI am trying to make a card game which can be played over the internet between users. I have already downloaded the cardGame Starter kit for Visual Basic. I plan to modify it to the game I want.I had worked with Sockets (Client-Server App) a long time ago for a small chat program for computers connected in LAN.I had the following questions:How should I start off with this Application, should I first just concentrate on making the game and then progress to trying to figure out how to make it playable over the internet?
Or should I do it the other way round?Can I attain my objective using Sockets? or do I have to use something else?Is there a tutorial available to start me off? (I Googled and "Bing"ed it but to no avail)
I'm trying to make online chat..I saw 2 P2P tutorials:url...both are great tutorials, but they work in LAN only with addresses and ports given.if anybody knows which port and address could I use with this ideas and go to internet.
View 2 RepliesI built a chat program using Socket (winsock2005dll) but it did not work well on internet, I've heard that using system.net is more powerful
View 1 RepliesHow can I check for internet connectivity? I can't use the My.Computer.Network.IsAvailable, because that one returns true also when you only have a local network connection and no internet connection.
View 10 RepliesI have no idea at all of how to get a simple True/False function to tell me if the user has any sort of internet connection
View 14 Replies