Search:

Type: Posts; User: raman.x.verma

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,516

    well, my friend helped me out. i made the...

    well, my friend helped me out. i made the following change
    As was:
    dest.sin_addr.s_addr = inet_addr(hinfo->h_addr);
    Changed To:
    dest.sin_addr = *(struct in_addr *)(hinfo->h_addr);

    Now the...
  2. Replies
    2
    Views
    1,516

    Socket connection problem

    Hello There, I am trying to change a simple client code that will retrieve the web pages from any web site using TCP sockets. It fails in the connect function.
    When I made the code run on my m/c...
Results 1 to 2 of 2