|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
You're good if you can answer this one.....Don't ask why (it'll just make your head hurt - I know mine does just
thinking about the screwed up logic my manager has for this little project)......but I need to be able to tunnel a TCP connection through a UDP connection. Any ideas how to do this? I am using VB.Net 2005 but I may be able to follow a simple C# example or two. Thanks!
http://support.microsoft.com/kb/244474/
http://www.hamachi.cc/ http://en.wikipedia.org/wiki/Hamachi Show quote Hide quote "smerf" <sm***@shroom.com> wrote in message
news:KRIUg.47052$vX5.27993@bignews8.bellsouth.net... > Don't ask why (it'll just make your head hurt - I know mine does just > thinking about the screwed up logic my manager has for this little > project)......but I need to be able to tunnel a TCP connection through a UDP > connection. > > Any ideas how to do this? I am using VB.Net 2005 but I may be able to > follow a simple C# example or two. > > Thanks! > > > Great links Dana!
Unfortunately Hamachi has sold out to LogMeIn and the server is no longer available publicly.... The app we are adding to allready has a UDP connection between peers. The thought behind tunneling TCP through it was to allow other apps to successfully use the same tunnel (like Hamachi) and to take advantage of the features of TCP when transferring files (making sure everything gets there and in the proper order). Show quoteHide quote "Dana" <raff***@yahoo.com> wrote in message news:12i6nis3jnhhc40@corp.supernews.com... > http://support.microsoft.com/kb/244474/ > http://www.hamachi.cc/ > http://en.wikipedia.org/wiki/Hamachi > > "smerf" <sm***@shroom.com> wrote in message > news:KRIUg.47052$vX5.27993@bignews8.bellsouth.net... >> Don't ask why (it'll just make your head hurt - I know mine does just >> thinking about the screwed up logic my manager has for this little >> project)......but I need to be able to tunnel a TCP connection through a > UDP >> connection. >> >> Any ideas how to do this? I am using VB.Net 2005 but I may be able to >> follow a simple C# example or two. >> >> Thanks! >> >> >> > > "smerf" <sm***@shroom.com> wrote in message You original post got me interested so I did a little search and that isnews:TKPUg.28750$eW5.14492@bignews5.bellsouth.net... > Great links Dana! > > Unfortunately Hamachi has sold out to LogMeIn and the server is no longer > available publicly.... > > The app we are adding to allready has a UDP connection between peers. The > thought behind tunneling TCP through it was to allow other apps to > successfully use the same tunnel (like Hamachi) and to take advantage of the > features of TCP when transferring files (making sure everything gets there > and in the proper order). what I found. I found some forum type boards where people were discussing doing what you are trying to do, and that led me to Hamachi. You may want to do a search for Hamachi and see if you find any help that way. Sorry that is all I can offer. Show quoteHide quote > > > > "Dana" <raff***@yahoo.com> wrote in message > news:12i6nis3jnhhc40@corp.supernews.com... > > http://support.microsoft.com/kb/244474/ > > http://www.hamachi.cc/ > > http://en.wikipedia.org/wiki/Hamachi > > > > "smerf" <sm***@shroom.com> wrote in message > > news:KRIUg.47052$vX5.27993@bignews8.bellsouth.net... > >> Don't ask why (it'll just make your head hurt - I know mine does just > >> thinking about the screwed up logic my manager has for this little > >> project)......but I need to be able to tunnel a TCP connection through a > > UDP > >> connection. > >> > >> Any ideas how to do this? I am using VB.Net 2005 but I may be able to > >> follow a simple C# example or two. > >> > >> Thanks! > >> > >> > >> > > > > > > Smerf,
You can still easily find the Hamachi software on any of the peer-to-peer file sharing networks, with eMule, Kazaa, Morpheus, etc. Not the server side. Hamachi sold out to LogMeIn.
Not to worry though.....I'm almost ready to replace what Hamachi sold out. <tesla***@hotmail.com> wrote in message Show quoteHide quote news:1160544160.625658.138780@i3g2000cwc.googlegroups.com... > Smerf, > > You can still easily find the Hamachi software on any of the > peer-to-peer file sharing networks, with eMule, Kazaa, Morpheus, etc. > UDP does neither guarantee the packets arrive the destination in order, so
you'd have to create your packet with index, implement a buffer for reordering of packet on receiver side, design both connection endpoints to allow resending packet if one is found lost (the missing packet doesn't arrive before timeout) or after a full buffer condition is cleared (better if you can signal the sending side to stop sending packet if the buffer is full, but for the purpose of discussion, I think it's ok if the receiver side simply drop the packets and ask for resend when the buffer is has been emptied) In short, you have to implement all the Transport Controls provided by TCP(or I should say... OSI layer 4 - transport layer)... Show quoteHide quote "smerf" <sm***@shroom.com> ¼¶¼g©ó¶l¥ó·s»D:KRIUg.47052$vX5.27***@bignews8.bellsouth.net... > Don't ask why (it'll just make your head hurt - I know mine does just > thinking about the screwed up logic my manager has for this little > project)......but I need to be able to tunnel a TCP connection through a > UDP connection. > > Any ideas how to do this? I am using VB.Net 2005 but I may be able to > follow a simple C# example or two. > > Thanks! > > > Errata. :P
"Lau Lei Cheong" <leu***@yehoo.com.hk> ¼¶¼g©ó¶l¥ó·s»D:uNT5oo55GHA.4***@TK2MSFTNGP03.phx.gbl... UDP does neither guarantee the packets arrive the destination nor garantee > UDP does neither guarantee the packets arrive the destination in order, so the packets arrive in order The app we are adding to allready has a UDP connection between peers. The
thought behind tunneling TCP through it was to allow other apps to successfully use the same tunnel (like Hamachi) and to take advantage of the features of TCP when transferring files (making sure everything gets there and in the proper order). If we could tunnel TCP thru UDP, our issue would be solved. (We really need a newsgroup devoted to application programming questions - design patterns, actual code swapping, etc. - ....not just languages.) Show quoteHide quote "Lau Lei Cheong" <leu***@yehoo.com.hk> wrote in message news:%23vmh$r55GHA.3732@TK2MSFTNGP05.phx.gbl... > Errata. :P > > "Lau Lei Cheong" <leu***@yehoo.com.hk> > ¼¶¼g©ó¶l¥ó·s»D:uNT5oo55GHA.4***@TK2MSFTNGP03.phx.gbl... >> UDP does neither guarantee the packets arrive the destination in order, >> so > UDP does neither guarantee the packets arrive the destination nor garantee > the packets arrive in order > "smerf" <sm***@shroom.com> wrote in message There are, in fact, newsgroups dedicated to algorithm and coding issues, as news:mMPUg.28752$eW5.5194@bignews5.bellsouth.net... > (We really need a newsgroup devoted to application programming questions - > design patterns, actual code swapping, etc. - ....not just languages.) well as newsgroups dedicated to the use of TCP/IP. For the most part, you're not going to find those newsgroups under the microsoft.public.dotnet.* hierarchy. I agree that your question is not on-topic here. IMHO, the solution is just to find the right newsgroup and use that one, rather than cross-posting over a number of wrong newsgroups. Just because you're coding using .NET, C#, VB.NET or whatever, that doesn't mean all programming questions you might have are .NET, C#, VB.NET or whatever newsgroups. Hope that helps...for what it's worth, while you may find an answer through your excessive cross-posting to unrelated newsgroups, you are much more likely to get exactly the advice you want if you take the time to find the right newsgroup and post your question there. This isn't just about being nice to the newsgroups...you will also have more personal success by being nice to the newsgroups. Pete "Lau Lei Cheong" <leu***@yehoo.com.hk> wrote in message Which is exactly what the existing TCP/IP networking stack already does.news:uNT5oo55GHA.4608@TK2MSFTNGP03.phx.gbl... > UDP does neither guarantee the packets arrive the destination in order, so > you'd have to create your packet with index, implement a buffer for > reordering of packet on receiver side, design both connection endpoints to > allow resending packet if one is found lost (the missing packet doesn't > arrive before timeout) or after a full buffer condition is cleared (better > if you can signal the sending side to stop sending packet if the buffer is > full, but for the purpose of discussion, I think it's ok if the receiver > side simply drop the packets and ask for resend when the buffer is has > been emptied) I would look at the winpcap library, which I know several programs use to implement software ethernet bridging (in the days before XP, when Windows didn't have that built in). Show quoteHide quote > > In short, you have to implement all the Transport Controls provided by > TCP(or I should say... OSI layer 4 - transport layer)... > > "smerf" <sm***@shroom.com> > ¼¶¼g©ó¶l¥ó·s»D:KRIUg.47052$vX5.27***@bignews8.bellsouth.net... >> Don't ask why (it'll just make your head hurt - I know mine does just >> thinking about the screwed up logic my manager has for this little >> project)......but I need to be able to tunnel a TCP connection through a >> UDP connection. >> >> Any ideas how to do this? I am using VB.Net 2005 but I may be able to >> follow a simple C# example or two. >> >> Thanks! >> >> >> > >
.NET 2 recommended books?
Sending email with attachments Open folders to process files automatically Datetimepicker - just getting the data part ComboBox.Items.Clear() How to convert code snipped from VB6 to Visual Studio 2005/VB (VB7?) How hard would this be? Changing Printer's default paper Does a menu item lose dataset information? time constant |
|||||||||||||||||||||||