Easy Winsock for transmiting and recieving strings

Page 1 of 2
  1. Description
  2. Source Code

Description

This ActiveX control is to be used instead of winsock. (It contains the winsock control). It makes winsock even easier to use by automatically separating strings that may get 'fused' together during transmission.

In other words, data which arives (in a similar way to winsock, through an event subroutine) is already to be processed by your program, you do not need to check that the whole string has arived or whether it has been joined to another string also being transmitted, as this is fone within the control. It's nothing special, but I noticed how so many people in the discussion forums are having the same problem, and rather than post the same solution over and over, I'd slap in here.

If you would rather not use this as an activeX, I've pasted the source code in the next page, but you would have to modify it, unless you are planing to use a user control. If you are unfamiliar with these funky little things I would recommend you download the Zip file.

The Zip contains all information, files, and example programs and sourcecode, enjoy.

Please rate me, thanks.

>>Source to this activeX on the next page >> :)

You might also like...

Comments

Chris Stones

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter” - Eric Raymond