LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-08-2018, 02:40 PM   #1
hasanhosin
LQ Newbie
 
Registered: Mar 2018
Posts: 1

Rep: Reputation: Disabled
prg 1


hi all

i need code c

example:
--------------------------------------
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <sys/socket.h>

typedef struct savedata{

int id;
char data[2048];
int sizedata;
}


void read(savedata *v){

READ data and save to struct

}

void readdata_struct(savedata *v){


read data from struct savedata and send to multiple clients

}

int main(){


???

//i need code full thnksssssss all


}
 
Old 03-08-2018, 03:08 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Welcome to LQ!

Please review the Site FAQ for guidance in posting your questions and general forum usage. Asking others to write your full code for you is not the way things work here.

Members here are happy to help you with your homework, but please do not ask them to do it for you. Try to work it out yourself, then ask for help with the parts you do not understand.

Also, please place your code snippets inside [CODE]...[/CODE] tags for better readability. You may type those yourself or click the "#" button in the edit controls.
 
3 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in compiling c++ prg's sach1n Programming 8 11-21-2009 12:41 AM
*.prg mobile linux package maciejus Linux - Laptop and Netbook 0 05-04-2007 11:56 AM
Command line prg keshu_lk Linux - Kernel 2 11-09-2006 09:44 PM
Email Prg bluewater Linux - Newbie 6 04-22-2006 01:12 AM
problem executing prg with anjuta freeindy Linux - Software 4 04-03-2005 11:28 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration