#9678: Cannot send and receive through the same socket -------------------------------------+--------------------------- Reporter: markh | Owner: zooey Type: bug | Status: new Priority: normal | Milestone: R1 Component: Network & Internet/IPv4 | Version: R1/alpha4.1 Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | -------------------------------------+--------------------------- When trying to receive data from a socket I have previously sent data through, I get a connection refused error. A workaround is to use a second socket to send the data. I attached two files: - socket_test_send_recv_1_socket.c: Uses only one socket and fails. - socket_test_send_recv_2_sockets.c: Uses two sockets and works. The first construction is used by Postgresql to check if it can start the statistics collector and this now fails on Haiku. -- Ticket URL: <http://dev.haiku-os.org/ticket/9678> Haiku <http://dev.haiku-os.org> Haiku - the operating system.