03-01-2007 11:00 AM
03-01-2007 11:45 AM
It's been some years, so I don't remember the exact message, nor the exact symptoms.
But I proved it again and again at the time.
It's just been in my head since then, and I've broken up every transmission, until now.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
03-02-2007 01:43 AM - edited 03-02-2007 01:43 AM
This should be all handled by the socket library and protocols such as TCP/IP and UDP should not have any issues with packet size limitations. If they have it is a bug in the socket library of the platform you are using. Could it be that you remember a project with older CompactFieldpoint or similar hardware?
@CoastalMaineBird wrote:
Oh. I misunderstood the "you need to strip away some bytes for overhead" part of your post.So you agree that there should be no problem?
I wonder why I experienced the problem a while back?
I know that I spent enough time on it to verify that I could send N, but not N+1 in a single operation.
If I send a megabyte file with a single TCP WRITE, is it synchronous, or asynchronous? Is it going to hang my program until all the bytes go out the wire, or do they go into a buffer somewhere for the OS to handle?
I guess I can find that out myself...
Message Edited by rolfk on 03-02-2007 08:44 AM
03-02-2007 05:52 AM
No - my problem appeared when attempting file transfer between two computers, both using LabVIEW 4 or 5.
No other hardware was involved, except whatever networking gear was between them.
Thanks.
Blog for (mostly LabVIEW) programmers: Tips And Tricks