Web scraping/OCaml: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
The content of this page is related to the main page [[Web Scraping#OCaml]]
The content of this page is related to the main page [[Web Scraping#OCaml]]


<ocaml>
<lang ocaml>
let init_socket addr port =
let init_socket addr port =
let inet_addr = (Unix.gethostbyname addr).Unix.h_addr_list.(0) in
let inet_addr = (Unix.gethostbyname addr).Unix.h_addr_list.(0) in
Line 130: Line 130:
(cont)
(cont)
;;
;;
</ocaml>
</lang>