CFNetwork for Windows Part 2: The Client APIs

Cerrado Publicado Jul 23, 2012 Pagado a la entrega
Cerrado Pagado a la entrega

Note: This is about the open source project OpenCFLite, regarding Apple's CoreFoundation API, specifically the CFNetwork part. This is NOT about Microsoft's ".NET Compact Framework".

The [previous project][1] (part 1) focused on the Server APIs. This one will be for the client APIs. Download my [[url removed, login to view]][2] project, unzip it in your development directory. This includes my latest CFTest project.

You should have access to a Macintosh computer (with Xcode) as well, so you can run the tests on the mac, stepping thru the debugger, so that you can see the correct output being generated. This is not a requirement, but you will find it helpful.

0) [Install Bonjour][3] (print services, or the SDK) for Windows.

1) Open the file "Projects/CFTest/win_vs/[url removed, login to view]".

2) In the "Solution Explorer", select "CFTest", right click it and pick "Properties", go to "configuration properties->debugging", set it to "$(SolutionDir)build\CFTest [url removed, login to view]\Contents\Windows\$(TargetFileName)".

3) open the file "[url removed, login to view]"

4) find 'kTest_Bonjour'

5) set ALL test #defines to '1' (you may skip 'telnet' and 'server', since they work)

6) Now build and run.

7) your output should match the file "[url removed, login to view]" (bonjour services you have on your network may vary, but you must see the 'CFTest' service on both IPv4 and IPv6)

Project MUST remain compatible with Visual Studio 2008.

All additions to the project (extra source files, libraries) shall be documented in full on [the public wiki page][4].

## Deliverables

You may use any required 3rd party libraries (eg: boost-asio), provided they are freely distributable, or fall under an LGPL or similar license, and are included in the final project.

please use STL where you can. Please ONLY use Win32 API calls, no "dotnet" library dependencies

Cisco Electrónica Microsoft Arquitectura de software Windows Desktop

Nº del proyecto: #2669044

Sobre el proyecto

1 propuesta Proyecto remoto Activo Nov 19, 2012