Hello list. been trying to do a conexion by socket without success, that has two errors…
Hi,
If you change Line:-
if (connect(sock_fd, their_addr, sizeof(their_addr)) -1) thento:-
if connect(sock_fd, their_addr, sizeof(their_addr)) = FALSE thenit 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 'm sure someone has a better solution.......... ;-)
Andy
>>>>>>>>>>>>>
Hello list.
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
thanks
