LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Simple program to test functionality of sendmsg (https://www.linuxquestions.org/questions/linux-newbie-8/simple-program-to-test-functionality-of-sendmsg-4175410964/)

Tinyspark 06-12-2012 01:39 AM

Simple program to test functionality of sendmsg
 
Hi,
I am a newbie to C/socket programming.
I have to write a simple C program to test the functionality of sendmsg in Linux. By googling, I understand that a simple C program to call sendmsg function would not suffice and it needs socket program to test functionality of sendmsg. Could anyone provide me an example of a simple program to test sendmsg functionality?

Thanks.

chrism01 06-12-2012 02:04 AM

Sounds a lot like homework, so start by reading this http://beej.us/guide/bgnet/output/ht...age/bgnet.html
Write some code, then come back if you get stuck.


All times are GMT -5. The time now is 02:46 PM.