MS Access WIndows 10 TCP/UDP Socket communication?

I need to do TCP/UDP socket communication with a Linux box in Microsoft Access 365 or 2016 or some modern version.  I have to upgrade an old MS Access app that used wsock32.dll, but I can't get that to register on windows 10.  What is the best way to do socket communication with VBA on Windows 10?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Daniel PineaultPresident / Owner CARDA Consultants Inc.Commented:
Instead of registering the dll what about trying to dynamically loading it using FreeLibrary and LoadLibrary?
Member_2_241474Author Commented:
Thanks, Daniel.  I did look at that. It actually registers successfully (mswinsck.ocx) but when called in VBA it errors on loading axWinsock with "Method or data member not found."  I am not sure which OCX or DLL I should be using.

Once registered, I have, "Microsoft Winsock Control 6.0 (SP6)" in my available references, but it doesn't behave when called.

I have VB6 code that used a DLL, but my Access app (which worked great in Access 2003 in XP) uses the OCX so I have those functions documented.  From my googling, it looks like what I need is WS2_32.dll but I can only find C++ docs.  Some guidance on which DLL or OCX to use with current MS Access VBA and maybe some docs on it's functions would be great.  An example would be awesome, but I have not found anything current.  Maybe because I am using old search terms.
Daniel PineaultPresident / Owner CARDA Consultants Inc.Commented:
Out of curiosity what is the bitness of your Access installation?
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

Member_2_241474Author Commented:
MSO 32 (actually Office 365) on Win 10 64
Is there a wsock64.dll available?
Gustav BrockCIOCommented:
You may have program this yourself:

Binaryworld - Windows Socket Programming

or use an up-to-date third-party control, like:

Chilkat Socket

I can get the old MS Winsock ActiveX to install under Windows XP with Access 2003, but I have found no way to make it work with Windows 10 and Access 2016.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.