View Full Version : Best way Send/Recieve Packets
ritalinkid
06-04-2004, 04:09 PM
I'm trying to develope a new way of sending files over internet (lan specifically). Back in the day I used VB 6.0 for all my internet based programming, using the INET component. What language (c++? .net?/ vb? .net?) is the best to start my project these days? I want a semi-user friendly interface, but I also want l control too.
Any suggestions or suggestive reading would be helpful.
(OT: Also what languages, besides c++ and VB would be useful for me to learn for the future?)
Celtboy
06-05-2004, 04:58 AM
talk about an open question... lol
In the long haul, C++ will probably be your best for both.
You'll probably find VB easier for interface design, and Java easier for network programming, but alas, where one is strong, the other weak and vice-versa.
Don't get me wrong! Both languages have their places! I personally love Java. Others swear by VB (to which I cough *pieceOfJunk* ;) ). Nah, VB has it's niches too.
Learning c++ will probably take you longer to develop the application you're looking to write, but (I think, could be wrong), will pay off more for you in the long run.
***NB***
This post does in no way endorse the idea that someone should learn c++ before any other language. I still love Java. I always will. It just seems to me that c++ has a slightly *note sarcasm* greater coding influence around us.
-Celt
Mhtml
06-05-2004, 11:34 AM
Not to be harsh or anything but if you mean to develop a protocol I suggest you give up already. If you don't know much about programming languages, your question leads me to this assumption .... Do you even know about sockets, ports, packets, encryption and encapsulation? Those are the sort of things you need to know about. And if you don't know what language you are going to use I don't think it's the right time for you to begin such a project, you might find that it is way to much for you to handle to quickly.
But if you still want to do it you may as well do it in the language you feel most comfortable in. I don't see any reason for developing a new method or means of transfering and recieving packets.
I'm not saying don't do it, I'm saying you will probably find it extremely hard and will either give up or fail a lot until you even get anywhere.
However google is still your friend, there are lots of sites that will help with network related programming ... oodles of topics in any language at any level. :)
whackaxe
06-05-2004, 04:28 PM
i'm not shure i understand to what extent you mean "sending files" but chances are either someone has already done it or no one has because it's not worth it. personally i'm leaning to use Winsock using C++ (Devcpp all the way baby!)
scroots
06-05-2004, 08:21 PM
i would do the project so that you could learn more about a language rather than choosing a language to do a project with.
I know i am learning C and wrote a Jane and sue program that told you who had the most money after you inputted the amount each had.
Two thoughts that are relevant:
You can't run berfore you can work.
Starting a project is one thing, finishing is another.
scroots
ritalinkid
06-07-2004, 09:09 PM
I sort of worded my question wrong, I meant develope a new way to me. I was looking for something besides inet to use, because I figured it was a little out of date.
thanks whackaxe, I just started looking at winsock using c++.
I'm a little new to programming, but not to networking, so I know all the concepts just programming them is a little harder, but thanks for the help.
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.