This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Help me



-----Original Message-----
From: Pietro [mailto:kpietro@inwind.it]
Sent: 13 February 2001 17:41

>Hello ML

  Hello Pietro

>I have the program for scan ports, in the which there is :

    [snip]

>With gcc -g -oprova prova.c   is ok! 
>No error.
>When run the program (prova) in the gdb, subsequently line
> if (connect(sock, (struct sockaddr*)&sin, sizeof(sin))==0)
>write the command print connect.
>The result is :
>$1 = {< text variable, no debug info >} 0x400c9ca0 <__libc_connect>
>Why ?
>The result of connect no egual -1 (error connecting) or 0 
>(connecting ok) ?

  This question would belong even better on the "All Binary Use Sockets
Exchange" mailing list instead, so why not send your question to the 
address abuse@inwind.it ?  I'm sure they'll give you a good answer.

       DaveK
-- 
we are not seats or eyeballs or end users or consumers.
we are human beings - and our reach exceeds your grasp.
                    deal with it.                      - cluetrain.org 



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]