LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-13-2008, 05:31 AM   #16
dlinux
Member
 
Registered: Jan 2007
Location: Portugal
Distribution: Slackware 13.0
Posts: 52

Rep: Reputation: 15

You are using nonblocking I/O and not checking the return value of connect() correctly. It might return -1 and errno to EINPROGRESS because it is still trying to connect.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to write a vulnerability scanner scanner with Perl? nsfocus Programming 5 05-20-2008 03:23 AM
how to read and write from parallel port in linux in kernal user joecole10 Linux - Software 1 03-15-2008 02:02 PM
writing linux port scanner ilnli Programming 5 07-19-2007 07:39 PM
best port scanner To scan open port in a network tanveer Linux - Security 8 01-21-2007 08:19 PM
Port Scanner tfrye Linux - Security 1 04-18-2001 11:22 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:19 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration