I never used NetAPI32.dll and cannot help in this. But Peer2Peer communication you can establish also using Winsock ActiveX Control and UDP protocol. See MSDN topic "Using the Winsock Control" - "UDP Basics" part for more information.
Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000) br>
VB (.NET) - what other language do you need in the whole Universe?...