Results 1 to 3 of 3

Thread: [VB6] Blast - Fast TCP Send of a Bitmap

Hybrid View

  1. #1

    Thread Starter
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    [VB6] Blast - Fast TCP Send of a Bitmap

    This demo shows one of the fastest ways to send the image from one PictureBox to another PictureBox via the Winsock control.

    The demo Project is both a client and a server. You can test it by running one copy and leaving "Server" set to localhost. You can also run a second copy on another machine for testing over your LAN or the Internet.

    As always, Internet testing may require that you set up port mapping on your NAT router. Port 1001 is hard-coded but easily changed.


    On most machines the timing mechanism used here won't have adequate precision to be useful for local transfers since the transfer is almost instantaneous.
    Attached Images Attached Images  
    Attached Files Attached Files

  2. #2
    Hyperactive Member Condomx's Avatar
    Join Date
    Dec 2009
    Location
    Iligan City,Philippines
    Posts
    327

    Re: [VB6] Blast - Fast TCP Send of a Bitmap

    i am getting a error ;like ;Invalid Procedure ..
    ~[L!f3 !s @ll @ab0ut l3@rn!ng]~

    ~*D0nt Give up, h0pe is always present*~

  3. #3

    Thread Starter
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: [VB6] Blast - Fast TCP Send of a Bitmap

    The sample requires WinXP or later though you could remove the stuff for CC6 and run it on an ancient Windows version.

    But this sounds like maybe an Error 5. Can you show me what line of code it occurs on (and a few lines around it so I can look at the point of failure)?

    There is very little code here so the problem should be easy to find. I'm puzzled because I have shared this code with many others several years ago when I wrote without any problems. Have you changed anything?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width