Link to home
Start Free TrialLog in
Avatar of Zeus2009
Zeus2009

asked on

vb.net UDP send & Recieve

Hi All,

i am using vb2005 and .Net2
I am looking for a very good example of send & recieving data using UDP.

My scenario is i have 2 applications locally who need to talk with each other app1 will tell app2 to do something then when app2 is finished it will tell app1 its status i.e ready for more work etc.

Is it possible for 2 apps to subscribe to the same sock or do i have to open 2 seperate ports in the apps one for sending & one for recieving.

Thanks
Zeus
Avatar of Hawkvalley1
Hawkvalley1
Flag of United States of America image

Avatar of Alexandre Simões
Hi...
Forget about UDP, simply use .net Remoting.

You can find plenty of sources about it on the web.

http://www.codeproject.com/KB/vb/Remoting_HelloWorld.aspx
http://www.vbdotnetheaven.com/UploadFile/ksasikumar/NetRemoting11152005081901AM/NetRemoting.aspx

ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Zeus2009
Zeus2009

ASKER

Great response guys thanks