Click to open or copy the files for the AppleTalk sample.
This sample is a Windows Socket application that demonstrates how to use the AppleTalk PAP Protocol. Both a server and a client application are included in the source for this sample. The client application reads a file and sends the contents to the server application. The server writes the bytes received to another file.
This sample uses the following keywords:
accept; atoi; bind; checkforrecv; checkforsend; closesocket; connect; createthread; doclient; doserver; exit; fd_set; fd_zero; fprintf; getlasterror; getlocaltime; getsockopt; ioctlsocket; listen; localalloc; localfree; locallock; localsize; lstrlen; memcmp; memcpy; opensocketregisterandlisten; perfthread; printf; rand; select; send; setsockopt; socket; strcpy; stricmp; switch; tolower; usage; wsacleanup; wsagetlasterror; wsarecvex; wsastartup