dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: [RESOLVED] Need an advanced internet book

  1. #1
    Join Date
    May 2008
    Posts
    55

    resolved [RESOLVED] Need an advanced internet book

    Hi, I can't find an advanced internet book for tcp firewall and scoket etc. It is hard to find such kind of book online.

    Please notice, I am not indicating a book such as how to programming with css and html etc. It doesn't help.

  2. #2
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,595
    Javascript does not cover such areas but Java does, perhaps you are confusing Javascript and Java
    If your post falls off the page, bump it. ...
    Please remember to wrap any code you have in forum tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

  3. #3
    Join Date
    May 2008
    Posts
    55
    No, maybe my question is not clear. Please see http://stackoverflow.com/questions/1...ing-javascript

    Also I want to learn proxy server programming skills from a book.
    Sample code in Javascript.
    Code:
    var http = require('http');
    
    http.createServer(function(request, response) {
      var proxy = http.createClient(80, request.headers['host'])
      var proxy_request = proxy.request(request.method, request.url, request.headers);
      proxy_request.addListener('response', function (proxy_response) {
        proxy_response.addListener('data', function(chunk) {
          response.write(chunk, 'binary');
        });
        proxy_response.addListener('end', function() {
          response.end();
        });
        response.writeHead(proxy_response.statusCode, proxy_response.headers);
      });
      request.addListener('data', function(chunk) {
        proxy_request.write(chunk, 'binary');
      });
      request.addListener('end', function() {
        proxy_request.end();
      });
    }).listen(8080);
    I do need a book with hands on exercises.

  4. #4
    Join Date
    Mar 2009
    Posts
    527
    The code you're quoting above is server side javascript, as in node.js. Google node.js. You can find sources and documentation there. Its great and its very powerful. You'll need to download it to use it, but its free. And the documentation on the main website is very good IMHO. As to books containing exercises, I have no idea.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles