Search:

Type: Posts; User: MK27

Search: Search took 0.06 seconds.

  1. Replies
    6
    Views
    9,358

    First, portability. It is not just depreciated --...

    First, portability. It is not just depreciated -- it's been completely removed from the POSIX specification. In fact, it is not part of the ANSI C standard and I think never was. I'm guessing it's...
  2. Replies
    6
    Views
    9,358

    A simple way to do this if you know the ip...

    A simple way to do this if you know the ip address and port number:



    int sock = socket(PF_INET, SOCK_STREAM, 0);
    struct sockaddr_in addr;

    addr.sin_family = AF_INET;...
Results 1 to 2 of 2