I have written a little c++ client/server in linux and everything worked fine. But when I moved the source to another machine and compiled it there, the accept call returns a invalid argument error, when I run and try to connect to the server with a connect call from the client. If I only move the executable to this machine, it works fine. So it seems there is something going wrong a compile-time. I use g++ to compile.
I hope someone can help. Thanks in advance.