vb.net UDP send & Recieve

Zeus2009
Zeus2009 used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Alexandre SimõesManager / Solutions Architect

Commented:
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

Most Valuable Expert 2012
Top Expert 2014
Commented:
Alexandre SimõesManager / Solutions Architect
Commented:

Author

Commented:
Great response guys thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial