Description:
Q&A for people programming under Unix.
|
|
|
problem moving socket code from cygwin to linux
|
| |
I have some socket code that compiles without error with g++ under cygwin but on Linux it gives an error. I have looked at sys/socket.h on both platforms and they seem to take the same arguments. This line: c=accept(s,(struct sockaddr *) &adr_client,&len_inet); compiles and runs fine on cygwin. Under linux I get... more »
|
|
|