- From: Worik Macky Turei Stanton <worik@noggon.co.nz>
- Date: 18 Mar 2001 12:06:18 +1200
- To: www-lib@w3.org
Friends To lkisten on a port I had to... // host_local = HTHost_new("127.0.0.1", 8088); HTRequest * req = HTRequest_new(); host_local = HTHost_newWParse(req, "http://127.0.0.1", 8088); // This is a bug........................^^^^^^ // Why do I need to specify a protocol? I am not going to use it! net_local = HTNet_new(host_local); host_remote = HTHost_new("", 0); net_remote = HTNet_new(host_remote); HTNet_setTransport (net_remote, HTTransport_find (0, "tcp")); if(HTHost_listen(host_local, net_remote, "127.0.0.1") == HT_ERROR){ Now I am listening on the correct port! Now I have to figgure out how to get properly notified of ACCEPT then READ. Whew! Worik -- Worik Macky Turei Stanton worik@noggon.co.nz Aotearoa This line would not have seven words if only it had eight words less.
Received on Saturday, 17 March 2001 19:03:07 UTC