|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
MSWinsck.ocxHi there!
I would like to know something. I've this feature, where I implement some code to communicate to a device via FTP. I've implemented this using MSWinsck. However I noticed that the communication with this device is very slow, mainly during the connect. But when I'm using a Windows command prompt this connect is very not that slow. In fact is very fast. Can someone give me a ideia why this is happening and one solution to this? I'm programming in VB.NET 2003. Thanks in advance, Rui Dias Instead of using a COM component, use the built in TCP interfaces in the
..NET library. They're significantly faster and easier to use. Mike Ober. Show quote "Rui Dias" <rd***@rcsoft.pt> wrote in message news:%234LoDHmyFHA.1252@TK2MSFTNGP09.phx.gbl... > > Hi there! > > I would like to know something. I've this feature, where I implement some > code to communicate to a device via FTP. I've implemented this using > MSWinsck. However I noticed that the communication with this device is very > slow, mainly during the connect. > > But when I'm using a Windows command prompt this connect is very not that > slow. In fact is very fast. > > Can someone give me a ideia why this is happening and one solution to this? > > I'm programming in VB.NET 2003. > > Thanks in advance, > > Rui Dias > > > > I've read something about it, but never found the part "easier". It all
seamed to me a lot more confuse. Any thing you recommend to read that could help me? When you feel that i'm boring you please say it. Thanks in advance, Rui Dias Show quote "Michael D. Ober" <ober***@.alum.mit.edu.nospam> wrote in message news:uvRnbRnyFHA.3152@TK2MSFTNGP10.phx.gbl... > > Instead of using a COM component, use the built in TCP interfaces in the > .NET library. They're significantly faster and easier to use. > > Mike Ober. > > "Rui Dias" <rd***@rcsoft.pt> wrote in message > news:%234LoDHmyFHA.1252@TK2MSFTNGP09.phx.gbl... >> >> Hi there! >> >> I would like to know something. I've this feature, where I implement some >> code to communicate to a device via FTP. I've implemented this using >> MSWinsck. However I noticed that the communication with this device is > very >> slow, mainly during the connect. >> >> But when I'm using a Windows command prompt this connect is very not that >> slow. In fact is very fast. >> >> Can someone give me a ideia why this is happening and one solution to > this? >> >> I'm programming in VB.NET 2003. >> >> Thanks in advance, >> >> Rui Dias >> >> >> >> > > > > |
|||||||||||||||||||||||