TOPIC: Error Running Client Server from manual
#1155
Error Running Client Server from manual 2 Years, 4 Months ago
When I tried the Running Client Server example from the User's manual: via
suneido -server server.go
with file server.go containing Use("mylib);
I got a Fatal Error alert box:
sockets:cpp:157:assertion failure: 0 == listen(sock,5)

an empty desktop Window entitled "Suneido" also appears and disappears when "OK" button on alert box is clicked

Any suggestions?
 
 
#1156
Re:Error Running Client Server from manual 2 Years, 4 Months ago
Sounds like something is already using the port.

This could be another copy of Suneido - check the task manager for suneido.exe

Or if some other program is using the default port (3147) you can specify a different one with the -port command line option. (If you use a non-standard port you need to specify it for both the server and the clients.)

Hope that helps!
 
 
andrew