I sort of got this thing working now..thanks Salem.
Type: Posts; User: zvn
I sort of got this thing working now..thanks Salem.
Hi. I recently started learning network programming (from Beej's guide); here's a simple server I'm trying to make - its supposed to send a file to a specified port (both file_path and port number...
The pointers name, phone and email don't point to allocated memory, that's why you are getting seg error. You must allocate memory before using it by writing
char name[30]; etc.
or...