Hi, I need help with this:
If i send a packet using using send(), how can I tell which port did i send on? the socketfd in the bind only specify the receiver's port. how then can I receive a reply...
Type: Posts; User: John_2007
Hi, I need help with this:
If i send a packet using using send(), how can I tell which port did i send on? the socketfd in the bind only specify the receiver's port. how then can I receive a reply...
Thanks!
I have this problem with my code, I can transfer text files from one directory to another directory. But when i change the file name to a jpeg file, the program just refuse to transfer my picture......
I have been trying to compile my code, but my compiler shows this message:
sys/socket.h : no such file or directory.
The same goes for netinet/in.h , netdb.h and a few other files. By the way, I...