You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 2334 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Original bug ID: 2334
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Loic Correnson
Version: 3.07+2
OS: W2K, native port
Submission from: mailhost.trusted-logic.fr (194.250.150.5)
Using ocaml on Windows 2000 with native port (no cygwin nor mingw):
Unix.open_connection works fairly well with ocaml 3.06, but no more with the
3.07.
Assume a socket server has been established from the outside on local port
9025:
open Unix ;;
let addr = inet_addr_of_string "127.0.0.1" ;;
let sock = ADDR_INET(addr,9025) ;;
let (inc,out) = open_connection sock ;;
Printf.fprintf out "ack\n" ;;
Then:
flush out ;;
Under ocaml 3.07+2:
Exception: Sys_error "Bad file descriptor".
Under ocaml 3.06:
The text was updated successfully, but these errors were encountered: