Forum Discussion
Altera_Forum
Honored Contributor
16 years agosimple socket server connection established, but cannot ping/telnet
hello guys, I got a problem with simple socket server problem. I post similiar thread in dev kit forum, but no answer until now. I am thinking maybe I could get help from here. Thank you in ad...
Altera_Forum
Honored Contributor
14 years agoTry this in your client program
ConnectedToServer = False; while (!ConnectedToServer) { Create Client socket; Configure socket (address family etc...) Fill in server sock addr struct.. etc.. try Connect; If success ConnectedToServer = true; Else Close client socket; memset all structs to 0x00; Optionally add some delay; }