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

Notices

Rate this Entry

Connect function in client returns minus 1

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

Quote:
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 192.168.1.144 as an IP telnet address but still client is not getting connected. Do u want me to give cllient server code here or what?
Posted in Uncategorized
Views 568 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 10:50 PM.

Main Menu

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