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 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:38 GMT