diff -r 240620f46dd7 -r 613998625a3c project_files/frontlib/socket.h --- a/project_files/frontlib/socket.h Fri Jun 15 19:57:25 2012 +0200 +++ b/project_files/frontlib/socket.h Tue Jun 19 21:17:05 2012 +0200 @@ -49,6 +49,11 @@ flib_tcpsocket *flib_socket_accept(flib_acceptor *acceptor, bool localOnly); /** + * Try to connect to the server at the given address. + */ +flib_tcpsocket *flib_socket_connect(const char *host, uint16_t port); + +/** * Close the socket and free its memory. * If the socket is already NULL, nothing happens. */