[fpc-pascal]socket not ready help
MPDJ at btinternet.com
Mon Jan 21 17:30:08 CET 2002
If you change Line:-
if (connect(sock_fd, their_addr, sizeof(their_addr)) <> -1) then
if connect(sock_fd, their_addr, sizeof(their_addr)) = FALSE then
it compiles with no errors. I have not had a chance to try it as I gave up
driving sockets this way, and simply used the WinSock API directly. I'm by
no stretch of the imagination an expert at all. I'm sure someone has a
better solution.......... ;-)
been trying to do a conexion by socket without success,
I send the code that myself,
that has two errors of compilation to see if they help me to resolve it,
The errors are in the lines 39 and 44.
I expect thanks they help myself
J. Eduardo Garcia T.
Messenger : jegarto at hotmail.com
Current Proyect : gcafe - http://gcafe.es.gnome.org
web site: www.geocities.com/netenzo
tel: +57 4 4150570
Medellin - Colombia - Sur America
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.313 / Virus Database: 174 - Release Date: 02/01/02
More information about the fpc-pascal