Click to open or copy the files for the NullProv sample.
This sample provides a "null" provider for the purpose of demonstrating how to get a service provider installed and started. The provider simply pretends to send and receive data.
This sample uses the following keywords:
closesocket; create_test_socket; destroy_test_socket; establish_provider; getlasterror; makeword; memcpy; test_send; wsacleanup; wsasend; wsasocket; wsastartup; wscenumprotocols; wscinstallprovider; wspaccept; wspaddresstostring; wspasyncselect; wspbind; wspcancelblockingcall; wspcleanup; wspclosesocket; wspconnect; wspduplicatesocket; wspenumnetworkevents; wspeventselect; wspgetoverlappedresult; wspgetpeername; wspgetqosbyname; wspgetsockname; wspgetsockopt; wspioctl; wspjoinleaf; wsplisten; wsprecv; wsprecvdisconnect; wsprecvfrom; wspselect; wspsend; wspsenddisconnect; wspsendto; wspsetsockopt; wspshutdown; wspsocket; wspstartup; wspstringtoaddress