View the Most Wanted LQ Wiki articles.
Go Back > Blogs > hiteshshahk
User Name


Uncategorized Entries with no category

Connect function in client returns minus 1

Posted 11-15-2009 at 03:37 PM by hiteshshahk

Originally Posted by Wim Sturkenboom View Post
It's a while ago that I did socket programming but if you check things like errno and use perror, you might be able to fine something.

As it's the client that does not connect, try telnet ipaddress portno or telnet hostname portno to connect to the server and see what works.

Check name resolution and firewalls.

I tried giving as an IP telnet address but still client is not getting connected. Do u want me to give cllient server code...
LQ Newbie
Posted in Uncategorized
Views 635 Comments 0 hiteshshahk is offline


All times are GMT -5. The time now is 03:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration