LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2012, 12:39 AM   #1
Tinyspark
LQ Newbie
 
Registered: May 2012
Posts: 15

Rep: Reputation: Disabled
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.
 
Old 06-12-2012, 01:04 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,397

Rep: Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777
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.
 
  


Reply

Tags
linux, sockets


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Exim - very simple test sorvad Linux - Software 2 05-06-2010 02:04 AM
How to test Nics and or the PXE functionality in cards hirts123 Linux - Networking 1 01-24-2009 09:43 AM
Simple C++ Program: Program Compiles But Won't Run (Segmentation Fault) violagirl23 Programming 3 01-09-2008 12:09 AM
adding functionality to an existing program unixbrain Programming 8 01-16-2006 10:13 AM
Test the performance and functionality of packets on ethereal Jyo Linux - Networking 0 09-21-2004 12:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:04 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