Blueprint changed by Rick Stovall:

Whiteboard changed:
- D socket library documentation: http://dlang.org/phobos/std_socket.html
+ Socket demo is complete and tested against a web server. The test
+ program requests the top page from the web server.. Transcript of the
+ test is below:
  
- Simple examples of D socket usage are provided with the dmd compiler
- package, but I'm having trouble finding others. I'm still looking. Need
- to decide if I should replicate the C++ ricklib3::tcp_socket class or
- create a new, more native asynchronous  approach.
+ [rstovall@gabbie str_socket]$ ./socket_test 192.168.2.109
+ D Socket Send/Receive Test.
+   Connecting to host 192.168.2.109:80....
+ HTTP/1.1 200 OK
+ Date: Tue, 01 Jan 2013 17:14:59 GMT
+ Server: Apache/2.2.22 (Debian)
+ Last-Modified: Sun, 30 Dec 2012 02:08:26 GMT
+ ETag: "20da1-e4-4d2085f393a80"
+ Accept-Ranges: bytes
+ Content-Length: 228
+ Vary: Accept-Encoding
+ Connection: close
+ Content-Type: text/html
+ 
+ <html><body><h1>It works!</h1>
+ <p>This is the default web page for this server.</p>
+ <p>The Apache web server software is running.</p>
+ 
+ <p>See the PHP test page for this server at <a href=index.php>this
+ link</a>.
+ 
+ </body></html>
+ 
+ ** main() is complete **

-- 
D language technology demos
https://blueprints.launchpad.net/nrtb/+spec/d-tech-demos

_______________________________________________
Mailing list: https://launchpad.net/~nrtb-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to