[mercury-users] using sockets, echoserv.m

Jörg Schuster joerg.schuster at gmail.com
Tue Dec 16 20:21:44 AEDT 2008


Hello Peter and Julien,

thank you for answering.

I used Mercury 0.13.1 (the latest stable version).

I ran

$ mmc --link-object posix_workarounds.o --make echoserv

The program compiled. But it does not really work. When I run it, e.g.
on port 12000 and give it some string with "telnet localhost 12000",
the program stops saying:

$ echoserv
eFAULT
Uncaught Mercury exception:
Software Error: write
$

Jörg

--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list