VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



UniSock Winsock control replacement

by Vesa Piittinen (20 Submissions)
Category: Internet/HTML
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (14 Votes)

A new class implementation of Winsock API. By style close to the native Winsock control and other class implementations such as CSocket and CSocketMaster, so you don't need to learn or rewrite much of existing code. The new and cool part about this class is that it is just one class file. Also, it performs better (by speed) and handles errors a bit more cleanly (you aren't forced to close the socket each time an error occurs). Other speciality is transparent Unicode support: when you switch to text mode, you start receiving TextArrival event instead of DataArrival and start getting individual lines. These lines are automatically Unicode if received line is UTF-8 or UTF-16! ANSI lines require you to use StrConv to get an usable string, thus you have the power on what to do with the raw data before any conversion has affected it. **** Support thread and documentation: https://www.vbforums.com/showthread.php?t=534580 **** Special thanks to Paul Caton and LaVolpe for their work on SelfSub, SelfHook and SelfCallback. **** UPDATE 2008-08-12: Now Vista compatible!

Rate UniSock Winsock control replacement

Download UniSock Winsock control replacement

Download UniSock Winsock control replacement (21 KB)

UniSock Winsock control replacement Comments

No comments have been posted about UniSock Winsock control replacement. Why not be the first to post a comment about UniSock Winsock control replacement.

Post your comment

Subject:
Message:
0/1000 characters