stream_socket_client() in C++?

Hello everyone, there's a function in PHP called stream_socket_client. See http://php.net/manual/en/function.stream-socket-client.php

Does anyone know of a function that does the same thing in C++?

Thanks.
closed account (3hM2Nwbp)
Google around for C++ networking libraries. I personally recommend the boost asio (a)synchronous networking library. You won't find a networking solution in the standard C++ library.
Why don't you look at php souce code itself ?
Topic archived. No new replies allowed.